mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
New proc to replace world.log <<, log_to_dd()
This commit changes every 'world.log <<' message with a loggable proc- log_to_dd(). This is adjustable in the config; If LOG_WORLD_OUTPUT is present, all things sent to world.log will show up in the standard /data/logs/ logs. These logs will contain the following (in order): Timestamp "DD_OUTPUT:" The message. The config option for this, by default, is turned off.
This commit is contained in:
@@ -546,7 +546,7 @@ var/list/forbidden_varedit_object_types = list(
|
||||
if("marked datum")
|
||||
O.vars[variable] = holder.marked_datum
|
||||
|
||||
world.log << "### VarEdit by [src]: [O.type] [variable]=[html_encode("[O.vars[variable]]")]"
|
||||
log_to_dd("### VarEdit by [src]: [O.type] [variable]=[html_encode("[O.vars[variable]]")]")
|
||||
log_admin("[key_name(src)] modified [original_name]'s [variable] to [O.vars[variable]]")
|
||||
message_admins("[key_name_admin(src)] modified [original_name]'s [variable] to [O.vars[variable]]", 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user