Files
Bubberstation/code/__HELPERS/logging/research.dm
tattle a77d2987ea Investigate logs contain dates (#71982)
## About The Pull Request
Investigate logs contain dates because I didn't notice they didn't have
dates.

## Why It's Good For The Game
Good for external parsers. Bringing logs closer to a standard (we hope)

## Changelog

🆑 Tattle
admin: investigate logs have dates, not just times
/🆑

Co-authored-by: tattle <article.disaster@gmail.com>
2022-12-14 09:58:41 -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>")