final class RawLogger[E <: AnyEncoded] extends EncodingAwareAbstractLogger[E] with AbstractMacroRawLogger
- Alphabetic
- By Inheritance
- RawLogger
- AbstractMacroRawLogger
- EncodingAwareAbstractLogger
- AbstractLogger
- AbstractLoggerF
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RawLogger(delegate: EncodingAwareAbstractLogger[E])
Type Members
- type Self = RawLogger[E]
- Definition Classes
- RawLogger → EncodingAwareAbstractLogger → 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
- def acceptable(position: CodePosition, 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
- RawLogger → AbstractLogger → AbstractLoggerF
- final def apply(context: Map[String, E]): Self
- Definition Classes
- EncodingAwareAbstractLogger
- final def apply(context: (String, E)*): 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
- AbstractMacroRawLogger
- final macro def debug(message: String): Unit
- Definition Classes
- AbstractMacroRawLogger
- 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
- AbstractMacroRawLogger
- 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(position: CodePosition, logLevel: Level)(action: => Unit): Unit
- Attributes
- protected
- Definition Classes
- AbstractLogger → AbstractLoggerF
- Annotations
- @inline()
- final macro def info(message: String): Unit
- Definition Classes
- AbstractMacroRawLogger
- 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()
- 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
- AbstractMacroRawLogger
- def unsafeLog(entry: Entry): Unit
Log irrespective of the log level threshold
Log irrespective of the log level threshold
- Definition Classes
- RawLogger → AbstractLogger → AbstractLoggerF
- 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
- AbstractMacroRawLogger
- def withCustomContext(context: CustomContext): Self
- Definition Classes
- RawLogger → AbstractLoggerF
- final def withCustomContext(context: (String, E)*): Self
- Definition Classes
- EncodingAwareAbstractLogger
- final def withCustomContextMap(context: Map[String, E]): Self
- Definition Classes
- EncodingAwareAbstractLogger