AbstractLogger

izumi.logstage.api.logger.AbstractLogger
trait AbstractLogger extends AbstractLoggerF[Identity]

Attributes

Graph
Supertypes
trait AbstractLoggerF[Identity]
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Types

Value members

Abstract methods

def acceptable(loggerId: LoggerId, logLevel: Level): Boolean

Check if loggerId is not blacklisted and logLevel is above the configured threshold

Check if loggerId is not blacklisted and logLevel is above the configured threshold

Attributes

def unsafeLog(entry: Entry): Unit

Log irrespective of the log level threshold

Log irrespective of the log level threshold

Attributes

Concrete methods

final def ifAcceptable(loggerId: LoggerId, logLevel: Level)(action: => Unit)(implicit pos: CodePositionMaterializer): Unit

Inherited methods

final def acceptable(logLevel: Level)(implicit pos: CodePositionMaterializer): Identity[Boolean]

Attributes

Inherited from:
AbstractLoggerF
final def apply(context: CustomContext): Self

Attributes

Inherited from:
AbstractLoggerF
final def log(logLevel: Level)(messageThunk: => Message)(implicit pos: CodePositionMaterializer): Identity[Unit]

Construct Entry and log if logLevel is above the threshold configured for this logger.

Construct Entry and log if logLevel is above the threshold configured for this logger.

Does not allocate Entry if logLevel is below the requirement

Attributes

Inherited from:
AbstractLoggerF
final def log(entry: Entry): Identity[Unit]

Log Entry if logLevel is above the threshold configured for this logger.

Log Entry if logLevel is above the threshold configured for this logger.

Attributes

Inherited from:
AbstractLoggerF

Inherited and Abstract methods

Attributes

Inherited from:
AbstractLoggerF