Packages

class IzStrictLogger extends RoutingLogger with EncodingAwareAbstractLogger[StrictEncoded] with AbstractMacroLogger

A variant of logstage.IzLogger that renders values only using izumi.logstage.api.rendering.LogstageCodec typeclass instances for those values. If an instance is missing, compilation will fail, whereas with default IzLogger, the rendering will fall back to using toString method

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IzStrictLogger
  2. AbstractMacroLogger
  3. EncodingAwareAbstractLogger
  4. RoutingLogger
  5. AbstractLogger
  6. AbstractLoggerF
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new IzStrictLogger(router: LogRouter, customContext: CustomContext)

Type Members

  1. type EncMode = Strict.type
    Definition Classes
    IzStrictLoggerAbstractLoggerF
  2. type Self = IzStrictLogger

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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

    Definition Classes
    RoutingLoggerAbstractLoggerAbstractLoggerF
  5. final def apply(context: Map[String, StrictEncoded]): Self
    Definition Classes
    EncodingAwareAbstractLogger
  6. final def apply(context: (String, StrictEncoded)*): Self
    Definition Classes
    EncodingAwareAbstractLogger
  7. final def apply(context: CustomContext): Self
    Definition Classes
    AbstractLoggerF
    Annotations
    @inline()
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final macro def crit(message: String): Unit
    Definition Classes
    AbstractMacroLogger
  11. val customContext: CustomContext
    Definition Classes
    IzStrictLoggerRoutingLogger
  12. final macro def debug(message: String): Unit
    Definition Classes
    AbstractMacroLogger
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. final macro def error(message: String): Unit
    Definition Classes
    AbstractMacroLogger
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def ifAcceptable(position: CodePosition, logLevel: Level)(action: => Unit): Unit
    Attributes
    protected
    Definition Classes
    AbstractLoggerAbstractLoggerF
    Annotations
    @inline()
  20. final macro def info(message: String): Unit
    Definition Classes
    AbstractMacroLogger
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. 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()
  23. 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()
  24. final def logMethod(level: Level, printTypes: Boolean = false, printImplicits: Boolean = false): LogMethod[EncMode]
    Definition Classes
    AbstractMacroLogger
  25. final macro def logValues(level: Level)(values: Any*): Unit
    Definition Classes
    AbstractMacroLogger
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def raw: RawLogger[StrictEncoded]
  30. val router: LogRouter
    Definition Classes
    IzStrictLoggerRoutingLogger
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. 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
    AbstractMacroLogger
  34. final def unsafeLog(entry: Entry): Unit

    Log irrespective of minimum log level

    Log irrespective of minimum log level

    Definition Classes
    RoutingLoggerAbstractLoggerAbstractLoggerF
    Annotations
    @inline()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final macro def warn(message: String): Unit
    Definition Classes
    AbstractMacroLogger
  39. def withCustomContext(context: CustomContext): Self
    Definition Classes
    IzStrictLoggerAbstractLoggerF
  40. final def withCustomContext(context: (String, StrictEncoded)*): Self
    Definition Classes
    EncodingAwareAbstractLogger
  41. final def withCustomContextMap(context: Map[String, StrictEncoded]): Self
    Definition Classes
    EncodingAwareAbstractLogger

Inherited from AbstractMacroLogger

Inherited from RoutingLogger

Inherited from AbstractLogger

Inherited from AbstractLoggerF[Identity]

Inherited from AnyRef

Inherited from Any

Ungrouped