Logs the given message and exception on debug level.
Logs the given message on debug level.
Logs the given message and exception on error level.
Logs the given message on error level.
Logs the given message and exception on info level.
Logs the given message on info level.
Logs the given message and exception on trace level.
Logs the given message on trace level.
Logs the given message and exception on warn level.
Logs the given message on warn level.
(logger: StringAdd).self
(logger: StringFormat).self
(logger: ArrowAssoc[Logger]).x
(Since version 2.10.0) Use leftOfArrow
instead
(logger: Ensuring[Logger]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Provides a common interface for logging in Scala.
Makes use of Scala's Call-by-Name parameters so you don't have to check whether the desired log level is enabled or not.
Implementations should make sure that the arguments are evaluated only if the corresponding log level is enabled. Additionatlly, they should handle the two-parameter methods like the single-parameter methods if
null
is passed as the exception parameter.