IzStrictLogger

izumi.logstage.api.strict.IzStrictLogger
See theIzStrictLogger companion object

Attributes

Companion
object
Graph
Supertypes
trait AbstractLoggerF[Identity]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

override type Self = IzStrictLogger

Value members

Concrete methods

Inherited methods

final override 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

Definition Classes
Inherited from:
RoutingLogger
final def acceptable(logLevel: Level)(implicit pos: CodePositionMaterializer): Identity[Boolean]

Attributes

Inherited from:
AbstractLoggerF
final def apply(context: Map[String, StrictEncoded]): Self

Attributes

Inherited from:
EncodingAwareAbstractLogger
final def apply(context: (String, StrictEncoded)*): Self

Attributes

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

Attributes

Inherited from:
AbstractLoggerF
final transparent inline def crit(inline message: String): Unit

Attributes

Inherited from:
AbstractMacroStrictLogger
final transparent inline def debug(inline message: String): Unit

Attributes

Inherited from:
AbstractMacroStrictLogger
final transparent inline def error(inline message: String): Unit

Attributes

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

Attributes

Inherited from:
AbstractLogger
final transparent inline def info(inline message: String): Unit

Attributes

Inherited from:
AbstractMacroStrictLogger
final transparent inline def log(inline level: Level, inline message: String): Unit

Attributes

Inherited from:
AbstractMacroStrictLogger
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 transparent inline def trace(inline message: String): Unit

More efficient aliases for log

More efficient aliases for log

These directly splice an acceptable check before calling unsafeLog which is more efficient than creating a messageThunk for a log call.

They also look better in Intellij

Attributes

Inherited from:
AbstractMacroStrictLogger
final override def unsafeLog(entry: Entry): Unit

Log irrespective of minimum log level

Log irrespective of minimum log level

Attributes

Definition Classes
Inherited from:
RoutingLogger
final transparent inline def warn(inline message: String): Unit

Attributes

Inherited from:
AbstractMacroStrictLogger
final def withCustomContext(context: (String, StrictEncoded)*): Self

Attributes

Inherited from:
EncodingAwareAbstractLogger
final def withCustomContextMap(context: Map[String, StrictEncoded]): Self

Attributes

Inherited from:
EncodingAwareAbstractLogger

Concrete fields

override val router: LogRouter