mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
[MIRROR] Asset log config (#8400)
* Asset log config (#61687) Adds config to toggle on/off logging to asset.log Special thanks to @ TiviPlus who stole it from @ TiviPlus at tgstation/TerraGov-Marine-Corps#8406 * Asset log config Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
This commit is contained in:
@@ -105,7 +105,8 @@ GLOBAL_LIST_INIT(testing_global_profiler, list("_PROFILE_NAME" = "Global"))
|
||||
WRITE_LOG(GLOB.world_paper_log, "PAPER: [text]")
|
||||
|
||||
/proc/log_asset(text)
|
||||
WRITE_LOG(GLOB.world_asset_log, "ASSET: [text]")
|
||||
if(CONFIG_GET(flag/log_asset))
|
||||
WRITE_LOG(GLOB.world_asset_log, "ASSET: [text]")
|
||||
|
||||
/proc/log_access(text)
|
||||
if (CONFIG_GET(flag/log_access))
|
||||
|
||||
@@ -72,6 +72,8 @@
|
||||
|
||||
/datum/config_entry/flag/log_cloning // log cloning actions.
|
||||
|
||||
/datum/config_entry/flag/log_asset //asset logging
|
||||
|
||||
/datum/config_entry/flag/log_vote // log voting
|
||||
|
||||
/datum/config_entry/flag/log_whisper // log client whisper
|
||||
|
||||
@@ -103,6 +103,9 @@ LOG_ADMIN
|
||||
## log admin chat
|
||||
LOG_ADMINCHAT
|
||||
|
||||
## log asset debug logs
|
||||
#LOG_ASSET
|
||||
|
||||
## log client access (logon/logoff)
|
||||
LOG_ACCESS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user