AbstractLogger

izumi.logstage.api.logger.AbstractLogger

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Types

Inherited and Abstract types

type EncMode

Attributes

Inherited from:
AbstractLoggerF

Value members

Abstract methods

def acceptable(position: CodePosition, 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 protected def ifAcceptable(position: CodePosition, logLevel: Level)(action: => Unit): Unit

Inherited methods

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
final def logTo(sinkKey: String)(logLevel: Level)(messageThunk: => Message)(implicit pos: CodePositionMaterializer): Identity[Unit]

Attributes

Inherited from:
AbstractLoggerF

Inherited and Abstract methods

Attributes

Inherited from:
AbstractLoggerF