tofu.logging.impl

Members list

Type members

Classlikes

class ArgsLoggable(values: Seq[(String, LoggedValue)]) extends LoggedValue

Attributes

Supertypes
trait LoggedValue
class Object
trait Matchable
class Any
class CachedLogs[I[_], F[_]](underlying: Logs[I, F], nameCache: QVar[I, Map[String, Logging[F]]], tagCache: QVar[I, Map[ClassTag[_], Logging[F]]])(implicit evidence$1: Monad[I], evidence$2: Guarantee[I]) extends Logs[I, F]

Attributes

Supertypes
trait Logs[I, F]
trait LogsVOps[I, F]
class Object
trait Matchable
class Any
class ComposedLoggedValue(values: Iterable[LoggedValue]) extends LoggedValue

This is supposed to be used to log several LoggedValue as if they were passed as arguments to the logging method. E.g. to provide single LoggedValue into ContextMarker. Be careful: the resulting structured log may contain the same fields.

This is supposed to be used to log several LoggedValue as if they were passed as arguments to the logging method. E.g. to provide single LoggedValue into ContextMarker. Be careful: the resulting structured log may contain the same fields.

Attributes

Supertypes
trait LoggedValue
class Object
trait Matchable
class Any
class ContextLoggingImpl[F[_], C, Service](context: WithContext[F, C], logger: Logger)(implicit evidence$1: Applicative[F], evidence$2: Loggable[C])

Attributes

Supertypes
trait Logging[F]
trait ServiceLogging[F, Nothing]
trait LoggingBase[F]
class Object
trait Matchable
class Any
Show all
final case class ContextMarker(ctx: LoggedValue, referenceList: Seq[Marker]) extends Marker

Attributes

Supertypes
trait Product
trait Equals
trait Marker
trait Serializable
class Object
trait Matchable
class Any
Show all
class ContextSyncLoggingImpl[F[_], C](context: WithContext[F, C], logger: Logger)(implicit evidence$1: Monad[F], evidence$2: Loggable[C], F: Delay[F])

Attributes

Supertypes
trait Logging[F]
trait ServiceLogging[F, Nothing]
trait LoggingBase[F]
class Object
trait Matchable
class Any
Show all
class ContramapLoggable[A, B](val self: Base[A], val f: B => A) extends Loggable[B]

Attributes

Supertypes
trait Loggable[B]
trait Base[B]
class Object
trait Matchable
class Any
class EmbedLogging[F[_]](underlying: F[Logging[F]])(implicit evidence$1: FlatMap[F]) extends Logging[F]

Attributes

Supertypes
trait Logging[F]
trait ServiceLogging[F, Nothing]
trait LoggingBase[F]
class Object
trait Matchable
class Any
Show all
class EmptyLoggable[A] extends SingleValueLoggable[A]

Attributes

Companion
object
Supertypes
trait SubLoggable[A]
trait Loggable[A]
trait Base[A]
class Object
trait Matchable
class Any
Show all
Known subtypes
object EmptyLoggable
object EmptyLoggable extends EmptyLoggable[Any]

Attributes

Companion
class
Supertypes
class EmptyLoggable[Any]
trait SingleValueLoggable[Any]
trait SubLoggable[Any]
trait Loggable[Any]
trait Base[Any]
class Object
trait Matchable
class Any
Show all
Self type
class FilterLoggable[A](that: Base[A], p: A => Boolean) extends Loggable[A]

Attributes

Supertypes
trait Loggable[A]
trait Base[A]
class Object
trait Matchable
class Any
class HiddenLoggable[A](val self: Base[A]) extends Loggable[A]

Attributes

Supertypes
trait Loggable[A]
trait Base[A]
class Object
trait Matchable
class Any
class NamedLoggable[A](name: String, that: Loggable[A]) extends Loggable[A]

Attributes

Supertypes
trait Loggable[A]
trait Base[A]
class Object
trait Matchable
class Any
class PlusLoggable[A](first: Base[A], second: Base[A]) extends Loggable[A]

Attributes

Supertypes
trait Loggable[A]
trait Base[A]
class Object
trait Matchable
class Any
class SingletonLoggable[A](name: String, that: Loggable[A]) extends DictLoggable[A]

Attributes

Supertypes
trait DictLoggable[A]
trait Loggable[A]
trait Base[A]
class Object
trait Matchable
class Any
Show all
class SyncLogging[F[_]](logger: Logger)(implicit evidence$1: Monad[F], F: Delay[F])

Attributes

Supertypes
trait Logging[F]
trait ServiceLogging[F, Nothing]
trait LoggingBase[F]
class Object
trait Matchable
class Any
Show all
class UniversalContextLogging[F[_]](name: String, fctx: (LoggedValue => Unit) => F[Unit]) extends Logging[F]

Attributes

Supertypes
trait Logging[F]
trait ServiceLogging[F, Nothing]
trait LoggingBase[F]
class Object
trait Matchable
class Any
Show all
class UniversalContextLogs[F[_], C](implicit evidence$1: FlatMap[F], evidence$2: Loggable[C], FC: WithContext[F, C], FD: Delay[F]) extends Universal[F]

Attributes

Supertypes
trait Logs[Id, F]
trait LogsVOps[Id, F]
class Object
trait Matchable
class Any
class UniversalEmbedLogs[I[_], F[_]](underlying: Logs[I, F])(implicit evidence$1: FlatMap[F], lift: Lift[I, F]) extends Universal[F]

Attributes

Supertypes
trait Logs[Id, F]
trait LogsVOps[Id, F]
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class UniversalLogging[F[_]](name: String)(implicit F: Delay[F]) extends Logging[F]

Attributes

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