EncodingAwareAbstractLogger

izumi.logstage.api.logger.EncodingAwareAbstractLogger

Attributes

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

Members list

Type members

Types

override type Self <: EncodingAwareAbstractLogger[E]

Value members

Concrete methods

final def apply(context: (String, E)*): Self
final def apply(context: Map[String, E]): Self
final def withCustomContext(context: (String, E)*): Self
final def withCustomContextMap(context: Map[String, E]): Self

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 ifAcceptable(loggerId: LoggerId, logLevel: Level)(action: => Unit)(implicit pos: CodePositionMaterializer): Unit

Attributes

Inherited from:
AbstractLogger
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

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

Inherited from:
AbstractLogger
def unsafeLog(entry: Entry): Unit

Log irrespective of the log level threshold

Log irrespective of the log level threshold

Attributes

Inherited from:
AbstractLogger

Attributes

Inherited from:
AbstractLoggerF