GenericLogger
Class to represent a Logger which is based on a LogFunction.
Value parameters
- logFunction
-
the LogFunction.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Loggertrait Flushabletrait AutoCloseableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Returns the LogFunction associated with the debug logging level.
Returns the LogFunction associated with the debug logging level.
Attributes
- Returns
-
the LogFunction for debug level logging.
Provides the logging functionality for informational level logs.
Provides the logging functionality for informational level logs.
Attributes
- Returns
-
the
LogFunctionimplementation associated with the informational level for the logger.
Returns the LogFunction associated with this logger for logging trace-level messages.
Returns the LogFunction associated with this logger for logging trace-level messages.
Attributes
- Returns
-
the LogFunction instance for trace-level logging.
Returns the logging function for the warning log level.
Returns the logging function for the warning log level.
Attributes
- Returns
-
the LogFunction instance associated with the warning log level.
Inherited methods
Method to close. By default, this does nothing.
Method to furnish a (String, Throwable) -> Unit for dealing with errors in the logs. This default implementation is over-ridden for Slf4J-based loggers.
Method to furnish a (String, Throwable) -> Unit for dealing with errors in the logs. This default implementation is over-ridden for Slf4J-based loggers.
Attributes
- Returns
-
a function (String, Throwable) => Unit.
- Inherited from:
- Logger
Method to flush. By default, this does nothing.
Checks if debug level logging is enabled.
Checks if debug level logging is enabled.
Attributes
- Returns
-
true if debug logging is enabled; false otherwise.
- Inherited from:
- Logger
Determines whether the logging level for informational messages is enabled.
Determines whether the logging level for informational messages is enabled.
Attributes
- Returns
-
true if informational logging is enabled, otherwise false.
- Inherited from:
- Logger
Checks if trace level logging is enabled.
Checks if trace level logging is enabled.
Attributes
- Returns
-
true if trace level logging is enabled, otherwise false
- Inherited from:
- Logger
Method to furnish a LogFunction that does nothing and which does not cause evaluation of the message.
Method to furnish a LogFunction that does nothing and which does not cause evaluation of the message.
Attributes
- Returns
-
a LogFunction which does nothing.
- Inherited from:
- Logger
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product