1
0
mirror of https://github.com/CFC-Servers/gm_logger.git synced 2025-03-04 03:03:01 -05:00
This commit is contained in:
Brandon Sturgeon 2021-08-17 00:01:06 -07:00
parent d774cf6bb4
commit 69dd917305
No known key found for this signature in database
GPG Key ID: 93451558FC64495C

View File

@ -4,7 +4,9 @@ import istable, pairs, print, tostring from _G
LOG_LEVEL_OVERRIDE = CreateConVar "cfc_logger_forced_level", ""
forcedLogLevel = ->
level = LOG_LEVEL_OVERRIDE\GetString!
level == "" and nil or level
return nil if level == ""
return level
export class CFCLogger
@@severities =