RawLogger

izumi.logstage.api.logger.RawLogger

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

override type EncMode = Raw.type
override type Self = RawLogger[E]

Value members

Concrete methods

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

Attributes

def unsafeLog(entry: Entry): Unit

Log irrespective of the log level threshold

Log irrespective of the log level threshold

Attributes

Inherited methods

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
AbstractMacroLogger
final transparent inline def auditTo(sinkKey: String)(inline message: String): Unit

Attributes

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

Attributes

Inherited from:
AbstractMacroLogger
final transparent inline def critTo(sinkKey: String)(inline message: String): Unit

Attributes

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

Attributes

Inherited from:
AbstractMacroLogger
final transparent inline def debugTo(sinkKey: String)(inline message: String): Unit

Attributes

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

Attributes

Inherited from:
AbstractMacroLogger
final transparent inline def errorTo(sinkKey: String)(inline message: String): Unit

Attributes

Inherited from:
AbstractMacroLogger
final protected def ifAcceptable(position: CodePosition, logLevel: Level)(action: => Unit): Unit

Attributes

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

Attributes

Inherited from:
AbstractMacroLogger
final transparent inline def infoTo(sinkKey: String)(inline message: String): Unit

Attributes

Inherited from:
AbstractMacroLogger
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 logMethod[A](level: Level, printTypes: Boolean = ..., printImplicits: Boolean = ...)(inline function: => A): A

Attributes

Inherited from:
AbstractMacroLogger
final def logTo(sinkKey: String)(logLevel: Level)(messageThunk: => Message)(implicit pos: CodePositionMaterializer): Identity[Unit]

Attributes

Inherited from:
AbstractLoggerF
final transparent inline def logValues(level: Level)(inline values: Any*): Unit

Attributes

Inherited from:
AbstractMacroLogger
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:
AbstractMacroLogger
final transparent inline def traceTo(sinkKey: String)(inline message: String): Unit

Attributes

Inherited from:
AbstractMacroLogger
final transparent inline def warn(inline message: String): Unit

Attributes

Inherited from:
AbstractMacroLogger
final transparent inline def warnTo(sinkKey: String)(inline message: String): Unit

Attributes

Inherited from:
AbstractMacroLogger
final def withCustomContext(context: (String, E)*): Self

Attributes

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

Attributes

Inherited from:
EncodingAwareAbstractLogger