Fixes and cleanup for logging. (#1735)

* Fixes and a little cleanup.

* False by default.

* Apply suggestions from code review

Co-authored-by: Azarak <azarak10@gmail.com>

* Modularization and comments.

* #include

Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
uomo
2020-11-23 20:27:59 +01:00
committed by GitHub
co-authored by Azarak
parent cecb79ddb3
commit 6912895247
9 changed files with 29 additions and 2 deletions
+4
View File
@@ -492,6 +492,10 @@
colored_message = "(ASAY) [colored_message]"
if(LOG_EMOTE)
colored_message = "(EMOTE) [colored_message]"
//SKYRAT EDIT ADDITION BEGIN
if(LOG_SUBTLER)
colored_message = "(EMOTE) (SUBTLER) [colored_message]"
//SKYRAT EDIT ADDITION END
var/list/timestamped_message = list("\[[time_stamp()]\] [key_name(src)] [loc_name(src)]" = colored_message)