Add a logger transport to the cache. Will be used whenever a logging method is called. Key must be a string to identify the given transport so that it may be removed if desired
Log to all cached transports if the log level is >= LogLevel.DEBUG
Log to all cached transports if the log level is >= LogLevel.ERROR
Log to all cached transports if the log level is >= LogLevel.INFO
Removes the default Logger transport from the logger cache
Removes the transport with the given key from the cache
Sets the log level for logging
Sets the shard number for this session
Returns a tagged Logger proxy. All logging methods on the proxy will use the given tag
Log to all cached transports if the log level is >= LogLevel.WARN
Generated using TypeDoc
Adds the default transport to the cache. This must be called if you want to use the logger without providing your own transports, otherwise nothing will happen when you call the logger methods.
You could call this conditionally to turn Logging on or off, but the preferred method for turning off logging would be
Logger.setLogLevel(LogLevel.NONE)
You can optionally provide a log level which will cause the default transport to override the globally configured log level