Logr is a structured logging utility library for Lua.
function Logr.new(name: string, level: string?): Logr
name
(string): The name of the logger which will be shown in log messages
level
(string?): The initial log level of the logger.
Returns a new Logr
function Logr:GetDefaultLevel(): string
Returns the current default log level for new loggers.
function Logr:SetDefaultLevel(level: string)
Sets the default log level for new loggers
level
(string): The new default log level