mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Re-add missing categories to externally formatted log files (#76051)
## About The Pull Request Currently externally-formatted log files (handled by rust-g) do not include categories. This seems erroneous, and causes a discrepancy between the internal and externally formatted files as external formatting only seems to add the timestamp and some newline handling. Currently:  With this PR:  ## Why It's Good For The Game Resolves a disparity between external and internal formatting made evident by #75972. ## Changelog 🆑 bobbahbrown server: Fix log categories being erroneously excluded from log files. /🆑
This commit is contained in:
@@ -71,7 +71,7 @@ GENERAL_PROTECT_DATUM(/datum/log_entry)
|
||||
if(format)
|
||||
output += "\[[timestamp]\] [uppertext(category)]: [message]"
|
||||
else
|
||||
output += "[message]"
|
||||
output += "[uppertext(category)]: [message]"
|
||||
|
||||
if(flags & ENTRY_USE_DATA_W_READABLE)
|
||||
#if DM_VERSION >= 515
|
||||
|
||||
Reference in New Issue
Block a user