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:

![image](https://github.com/tgstation/tgstation/assets/10467687/a8979eca-833a-4c44-9d0b-82b9925ddde4)

With this PR:

![image](https://github.com/tgstation/tgstation/assets/10467687/eeeb87ee-3395-4ecc-b97c-ec35f965eac0)


## 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:
Brett
2023-06-14 22:06:48 +02:00
committed by GitHub
parent 952534a0f0
commit 702a1c02aa
+1 -1
View File
@@ -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