[MIRROR] JSON Logging Refactor (#11623)

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-09-14 20:05:26 +02:00
committed by GitHub
co-authored by Selis Kashargul
parent 272afa33c8
commit 5a62077f2c
425 changed files with 4081 additions and 2568 deletions
@@ -143,7 +143,7 @@ var/list/name_to_material
if(istext(key)) // text ID
. = name_to_material[key]
if(!.)
warning("Attempted to fetch material ref with invalid text id '[key]'")
WARNING("Attempted to fetch material ref with invalid text id '[key]'")
return
if(!ispath(key, /datum/material))
@@ -152,7 +152,7 @@ var/list/name_to_material
key = GetIdFromArguments(arguments)
. = name_to_material[key]
if(!.)
warning("Attempted to fetch nonexistent material with key [key]")
WARNING("Attempted to fetch nonexistent material with key [key]")
/** I'm not going to lie, this was swiped from [SSdcs][/datum/controller/subsystem/processing/dcs].
* Credit does to ninjanomnom