ContextSyncLoggingImpl

tofu.logging.impl.ContextSyncLoggingImpl
class ContextSyncLoggingImpl[F[_], C](context: WithContext[F, C], logger: Logger)(implicit evidence$1: Monad[F], evidence$2: Loggable[C], F: Delay[F])

Attributes

Graph
Supertypes
trait Logging[F]
trait ServiceLogging[F, Nothing]
trait LoggingBase[F]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def debug(message: String, values: LoggedValue*): F[Unit]

Attributes

Definition Classes
override def debugCause(message: String, cause: Throwable, values: LoggedValue*): F[Unit]

Attributes

Definition Classes
override def debugWithMarker(message: String, marker: Marker, values: LoggedValue*): F[Unit]

Attributes

Definition Classes
override def error(message: String, values: LoggedValue*): F[Unit]

Attributes

Definition Classes
override def errorCause(message: String, cause: Throwable, values: LoggedValue*): F[Unit]

Attributes

Definition Classes
override def errorWithMarker(message: String, marker: Marker, values: LoggedValue*): F[Unit]

Attributes

Definition Classes
override def info(message: String, values: LoggedValue*): F[Unit]

Attributes

Definition Classes
override def infoCause(message: String, cause: Throwable, values: LoggedValue*): F[Unit]

Attributes

Definition Classes
override def infoWithMarker(message: String, marker: Marker, values: LoggedValue*): F[Unit]

Attributes

Definition Classes
override def trace(message: String, values: LoggedValue*): F[Unit]

Attributes

Definition Classes
override def traceCause(message: String, cause: Throwable, values: LoggedValue*): F[Unit]

Attributes

Definition Classes
override def traceWithMarker(message: String, marker: Marker, values: LoggedValue*): F[Unit]

Attributes

Definition Classes
override def warn(message: String, values: LoggedValue*): F[Unit]

Attributes

Definition Classes
override def warnCause(message: String, cause: Throwable, values: LoggedValue*): F[Unit]

Attributes

Definition Classes
override def warnWithMarker(message: String, marker: Marker, values: LoggedValue*): F[Unit]

Attributes

Definition Classes

Inherited methods

def asLogging: Logging[F]

Attributes

Inherited from:
Logging
def debugEnabled: Boolean

Attributes

Inherited from:
LoggingImpl (hidden)
def errorEnabled: Boolean

Attributes

Inherited from:
LoggingImpl (hidden)
def infoEnabled: Boolean

Attributes

Inherited from:
LoggingImpl (hidden)
final def to[Svc2]: ServiceLogging[F, Svc2]

Attributes

Inherited from:
ServiceLogging
def traceEnabled: Boolean

Attributes

Inherited from:
LoggingImpl (hidden)
def warnEnabled: Boolean

Attributes

Inherited from:
LoggingImpl (hidden)
final def widen[G[a]]: Logging[G]

Attributes

Inherited from:
Logging
override def write(level: Level, message: String, values: LoggedValue*): F[Unit]

push new message to log, level will be automatically checked

push new message to log, level will be automatically checked

Value parameters

level

desired level of logging, message will not be rendered\sent, if logging level of current logger is not low enough

message

composed string with {} placeholders for values do not create strings on each call, use constant template string instead

values

log parameters , values of types having Loggable instance would be converted automatically

Attributes

Definition Classes
LoggingImpl -> LoggingBase
Inherited from:
LoggingImpl (hidden)
override def writeCause(level: Level, message: String, cause: Throwable, values: LoggedValue*): F[Unit]

could be overridden in the implementations, write message about some exception

could be overridden in the implementations, write message about some exception

Attributes

Definition Classes
LoggingImpl -> LoggingBase
Inherited from:
LoggingImpl (hidden)
override def writeMarker(level: Level, message: String, marker: Marker, values: LoggedValue*): F[Unit]

could be overridden in the implementation, same as write but add additional info via marker

could be overridden in the implementation, same as write but add additional info via marker

Attributes

Definition Classes
LoggingImpl -> LoggingBase
Inherited from:
LoggingImpl (hidden)