Creates the fallback logger.
Creates the fallback logger.
Call-by-Name parameter which returns the primary logger if available and is evaluated
at every call to log
. If it returns None
, the secondary logger is used.
The logger which is used if the primary logger is not available
Logs the given message and exception on debug level.
Logs the given message and exception on debug level.
Logs the given message on debug level.
Logs the given message on debug level.
Logs the given message and exception on error level.
Logs the given message and exception on error level.
Logs the given message on error level.
Logs the given message on error level.
Logs the given message and exception on info level.
Logs the given message and exception on info level.
Logs the given message on info level.
Logs the given message on info level.
Logs the given message and exception on trace level.
Logs the given message and exception on trace level.
Logs the given message on trace level.
Logs the given message on trace level.
Logs the given message and exception on warn level.
Logs the given message and exception on warn level.
Logs the given message on warn level.
Logs the given message on warn level.
Logger decorator which logs to a secondary logger if the primary logger is not available.