Files
Bubberstation/code/__HELPERS/logging/research.dm
SkyratBot bb2685e6fb [MIRROR] Investigate logs contain dates [MDB IGNORE] (#18153)
Investigate logs contain dates

Co-authored-by: tattle <66640614+dragomagol@users.noreply.github.com>
Co-authored-by: tastyfish <crazychris32@gmail.com>
2022-12-15 11:27:07 -05:00

7 lines
317 B
Plaintext

/// Puts the text into the research html file, not log. See [INVESTIGATE_RESEARCH] for [/atom/proc/investigate_log]
/proc/log_research(text)
if(!text)
return
var/html_file = file("[GLOB.log_directory]/[INVESTIGATE_RESEARCH].html")
WRITE_FILE(html_file, "[time_stamp(format = "YYYY-MM-DD hh:mm:ss")] [text]<br>")