Create a new instance
Log level for all loggers, default is LogLevel.Error
Where to log, default is LoggerType.Console
What logging format to use, use default instance, for default values see CategoryLogFormat.
Optional callback, if LoggerType.Custom is used as loggerType. In that case must return a new Logger instance. It is recommended to extend AbstractCategoryLogger to make your custom logger.
Get the formatterLogMessage function, see comment on the setter.
Set the default formatterLogMessage function, if set it is applied to all type of loggers except for a custom logger. By default this is null (not set). You can assign a function to allow custom formatting of a log message. Each log message will call this function then and expects your function to format the message and return a string. Will throw an error if you attempt to set a formatterLogMessage if the LoggerType is custom.
The formatter function, or null to reset it.
Generated using TypeDoc
Since 0.5.0, will be removed in 0.6.0, use CategoryConfiguration instead.