JSON Logging Refactor (#18252)

* First pass

* fixes

* more fixes

* num2hex length changes

* pass 2

* fixed warning

* looc log fix

* .

* update tgui

* .

* .

* .

* .

* perttier

* cleanup

* .

* .

* fix token

* no

* .

* .

* .

* ,

* modsay eventsay

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Selis
2025-09-11 17:28:20 +02:00
committed by GitHub
parent 67fa43bd5a
commit b0f0f4685f
403 changed files with 4013 additions and 2309 deletions
@@ -234,7 +234,7 @@
var/obj/item/radio/hradio = S.server_radio
if(!hradio)
error("[src] has no radio.")
log_world("## ERROR [src] has no radio.")
return
if((!message || message == "") && message != 0)
@@ -281,11 +281,11 @@ Just found out there was already a string explode function, did some benchmarkin
//CharCopy (dest + targetIndex, src + sourceIndex, count);
//CharCopy (dest + curPos, source + lastReadPos, precopy);
buf+=copytext(haystack,lastReadPos,precopy)
log_misc("buf+=copytext([haystack],[lastReadPos],[precopy])")
log_misc("[buf]")
log_world("## MISC buf+=copytext([haystack],[lastReadPos],[precopy])")
log_world("## MISC [buf]")
lastReadPos = dat[i] + lena
//CharCopy (dest + curPos, replace, newValue.length);
buf+=b
log_misc("[buf]")
log_world("## MISC [buf]")
buf+=copytext(haystack,lastReadPos, 0)
return buf