NOPLogger
A direct NOP (no operation) implementation of Logger.
Attributes
- Graph
-
- Supertypes
- Self type
-
NOPLogger.type
Members list
Value members
Concrete methods
Log a message at the DEBUG level.
Log a message at the DEBUG level.
Value parameters
- msg
-
the message string to be logged
Attributes
- Definition Classes
Log a message at the DEBUG level according to the specified format and argument.
Log a message at the DEBUG level according to the specified format and argument.
This form avoids superfluous object creation when the logger is disabled for the DEBUG level.
Value parameters
- arg
-
the argument
- format
-
the format string
Attributes
- Definition Classes
Log a message at the DEBUG level according to the specified format and arguments.
Log a message at the DEBUG level according to the specified format and arguments.
This form avoids superfluous object creation when the logger is disabled for the DEBUG level.
Value parameters
- arg1
-
the first argument
- arg2
-
the second argument
- format
-
the format string
Attributes
- Definition Classes
Log an exception (throwable) at the DEBUG level with an accompanying message.
Log an exception (throwable) at the DEBUG level with an accompanying message.
Value parameters
- e
-
the exception (throwable) to log
- msg
-
the message accompanying the exception
Attributes
- Definition Classes
Log a message at the ERROR level.
Log a message at the ERROR level.
Value parameters
- msg
-
the message string to be logged
Attributes
- Definition Classes
Log a message at the ERROR level according to the specified format and argument.
Log a message at the ERROR level according to the specified format and argument.
This form avoids superfluous object creation when the logger is disabled for the ERROR level.
Value parameters
- arg
-
the argument
- format
-
the format string
Attributes
- Definition Classes
Log a message at the ERROR level according to the specified format and arguments.
Log a message at the ERROR level according to the specified format and arguments.
This form avoids superfluous object creation when the logger is disabled for the ERROR level.
Value parameters
- arg1
-
the first argument
- arg2
-
the second argument
- format
-
the format string
Attributes
- Definition Classes
Log a message at the ERROR level according to the specified format and arguments.
Log a message at the ERROR level according to the specified format and arguments.
This form avoids superfluous string concatenation when the logger is disabled for the ERROR level. However, this variant incurs the hidden (and relatively small) cost of creating an Seq before invoking the method, even if this logger is disabled for ERROR. The variants taking one and two arguments exist solely in order to avoid this hidden cost.
Value parameters
- arguments
-
a list of 3 or more arguments
- format
-
the format string
Attributes
- Definition Classes
Log an exception (throwable) at the ERROR level with an accompanying message.
Log an exception (throwable) at the ERROR level with an accompanying message.
Value parameters
- e
-
the exception (throwable) to log
- msg
-
the message accompanying the exception
Attributes
- Definition Classes
Return the name of this Logger instance.
Return the name of this Logger instance.
Attributes
- Returns
-
name of this logger instance
- Definition Classes
Log a message at the INFO level.
Log a message at the INFO level.
Value parameters
- msg
-
the message string to be logged
Attributes
- Definition Classes
Log a message at the INFO level according to the specified format and argument.
Log a message at the INFO level according to the specified format and argument.
This form avoids superfluous object creation when the logger is disabled for the INFO level.
Value parameters
- arg
-
the argument
- format
-
the format string
Attributes
- Definition Classes
Log a message at the INFO level according to the specified format and arguments.
Log a message at the INFO level according to the specified format and arguments.
This form avoids superfluous object creation when the logger is disabled for the INFO level.
Value parameters
- arg1
-
the first argument
- arg2
-
the second argument
- format
-
the format string
Attributes
- Definition Classes
Log a message at the INFO level according to the specified format and arguments.
Log a message at the INFO level according to the specified format and arguments.
This form avoids superfluous string concatenation when the logger is disabled for the INFO level. However, this variant incurs the hidden (and relatively small) cost of creating an Seq before invoking the method, even if this logger is disabled for INFO. The variants taking one and two arguments exist solely in order to avoid this hidden cost.
Value parameters
- arguments
-
a list of 3 or more arguments
- format
-
the format string
Attributes
- Definition Classes
Log an exception (throwable) at the INFO level with an accompanying message.
Log an exception (throwable) at the INFO level with an accompanying message.
Value parameters
- e
-
the exception (throwable) to log
- msg
-
the message accompanying the exception
Attributes
- Definition Classes
Is the logger instance enabled for the DEBUG level?
Is the logger instance enabled for the DEBUG level?
Attributes
- Returns
-
True if this Logger is enabled for the DEBUG level, false otherwise.
- Definition Classes
Is the logger instance enabled for the INFO level?
Is the logger instance enabled for the INFO level?
Attributes
- Returns
-
True if this Logger is enabled for the INFO level, false otherwise.
- Definition Classes
Is the logger instance enabled for the TRACE level?
Is the logger instance enabled for the TRACE level?
Attributes
- Returns
-
True if this Logger is enabled for the TRACE level, false otherwise.
- Definition Classes
Is the logger instance enabled for the WARN level?
Is the logger instance enabled for the WARN level?
Attributes
- Returns
-
True if this Logger is enabled for the WARN level, false otherwise.
- Definition Classes
Log a message at the TRACE level.
Log a message at the TRACE level.
Value parameters
- msg
-
the message string to be logged
Attributes
- Definition Classes
Log a message at the TRACE level according to the specified format and argument.
Log a message at the TRACE level according to the specified format and argument.
This form avoids superfluous object creation when the logger is disabled for the TRACE level.
Value parameters
- arg
-
the argument
- format
-
the format string
Attributes
- Definition Classes
Log a message at the TRACE level according to the specified format and arguments.
Log a message at the TRACE level according to the specified format and arguments.
This form avoids superfluous object creation when the logger is disabled for the TRACE level.
Value parameters
- arg1
-
the first argument
- arg2
-
the second argument
- format
-
the format string
Attributes
- Definition Classes
Log an exception (throwable) at the TRACE level with an accompanying message.
Log an exception (throwable) at the TRACE level with an accompanying message.
Value parameters
- e
-
the exception (throwable) to log
- msg
-
the message accompanying the exception
Attributes
- Definition Classes
Log a message at the WARN level.
Log a message at the WARN level.
Value parameters
- msg
-
the message string to be logged
Attributes
- Definition Classes
Log a message at the WARN level according to the specified format and argument.
Log a message at the WARN level according to the specified format and argument.
This form avoids superfluous object creation when the logger is disabled for the WARN level.
Value parameters
- arg
-
the argument
- format
-
the format string
Attributes
- Definition Classes
Log a message at the WARN level according to the specified format and arguments.
Log a message at the WARN level according to the specified format and arguments.
This form avoids superfluous object creation when the logger is disabled for the WARN level.
Value parameters
- arg1
-
the first argument
- arg2
-
the second argument
- format
-
the format string
Attributes
- Definition Classes
Log an exception (throwable) at the WARN level with an accompanying message.
Log an exception (throwable) at the WARN level with an accompanying message.
Value parameters
- e
-
the exception (throwable) to log
- msg
-
the message accompanying the exception
Attributes
- Definition Classes