class IzStrictLogger extends RoutingLogger with EncodingAwareAbstractLogger[StrictEncoded] with AbstractMacroStrictLogger
- Alphabetic
- By Inheritance
- IzStrictLogger
- AbstractMacroStrictLogger
- EncodingAwareAbstractLogger
- RoutingLogger
- AbstractLogger
- AbstractLoggerF
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new IzStrictLogger(router: LogRouter, customContext: CustomContext)
Type Members
- type Self = IzStrictLogger
- Definition Classes
- IzStrictLogger → EncodingAwareAbstractLogger → RoutingLogger → AbstractLogger → AbstractLoggerF
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def acceptable(loggerId: LoggerId, logLevel: Level): Boolean
Check if
loggerId
is not blacklisted andlogLevel
is above the configured thresholdCheck if
loggerId
is not blacklisted andlogLevel
is above the configured threshold- Definition Classes
- RoutingLogger → AbstractLogger → AbstractLoggerF
- Annotations
- @inline()
- final def acceptable(logLevel: Level)(implicit pos: CodePositionMaterializer): Identity[Boolean]
- Definition Classes
- AbstractLoggerF
- Annotations
- @inline()
- final def apply(context: Map[String, StrictEncoded]): Self
- Definition Classes
- EncodingAwareAbstractLogger
- final def apply(context: (String, StrictEncoded)*): Self
- Definition Classes
- EncodingAwareAbstractLogger
- final def apply(context: CustomContext): Self
- Definition Classes
- AbstractLoggerF
- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final macro def crit(message: String): Unit
- Definition Classes
- AbstractMacroStrictLogger
- val customContext: CustomContext
- Definition Classes
- IzStrictLogger → RoutingLogger
- final macro def debug(message: String): Unit
- Definition Classes
- AbstractMacroStrictLogger
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final macro def error(message: String): Unit
- Definition Classes
- AbstractMacroStrictLogger
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def ifAcceptable(loggerId: LoggerId, logLevel: Level)(action: => Unit)(implicit pos: CodePositionMaterializer): Unit
- Definition Classes
- AbstractLogger → AbstractLoggerF
- Annotations
- @inline()
- final macro def info(message: String): Unit
- Definition Classes
- AbstractMacroStrictLogger
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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- Definition Classes
- AbstractLoggerF
- Annotations
- @inline()
- 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.- Definition Classes
- AbstractLoggerF
- Annotations
- @inline()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def raw: RawLogger[StrictEncoded]
- val router: LogRouter
- Definition Classes
- IzStrictLogger → RoutingLogger
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final macro def trace(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
- Definition Classes
- AbstractMacroStrictLogger
- final def unsafeLog(entry: Entry): Unit
Log irrespective of minimum log level
Log irrespective of minimum log level
- Definition Classes
- RoutingLogger → AbstractLogger → AbstractLoggerF
- Annotations
- @inline()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final macro def warn(message: String): Unit
- Definition Classes
- AbstractMacroStrictLogger
- def withCustomContext(context: CustomContext): Self
- Definition Classes
- IzStrictLogger → AbstractLoggerF
- final def withCustomContext(context: (String, StrictEncoded)*): Self
- Definition Classes
- EncodingAwareAbstractLogger
- final def withCustomContextMap(context: Map[String, StrictEncoded]): Self
- Definition Classes
- EncodingAwareAbstractLogger