org.typelevel.log4cats.extras

Members list

Type members

Classlikes

sealed trait LogLevel

Attributes

Companion
object
Source
LogLevel.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Debug
object Error
object Info
object Trace
object Warn
object LogLevel

Attributes

Companion
trait
Source
LogLevel.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
LogLevel.type
final case class LogMessage(level: LogLevel, t: Option[Throwable], message: String)

Attributes

Companion
object
Source
LogMessage.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object LogMessage

Attributes

Companion
class
Source
LogMessage.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
LogMessage.type
final case class StructuredLogMessage(level: LogLevel, context: Map[String, String], throwableOpt: Option[Throwable], message: String)

Attributes

Companion
object
Source
StructuredLogMessage.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
StructuredLogMessage.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object WriterLogger

A SelfAwareLogger implemented using cats.data.Writer.

A SelfAwareLogger implemented using cats.data.Writer.

>>> WARNING: READ BEFORE USAGE! <<< https://github.com/typelevel/log4cats/blob/main/core/shared/src/main/scala/org/typelevel/log4cats/extras/README.md >>> WARNING: READ BEFORE USAGE! <<<

If a SelfAwareLogger is needed for test code, the testing module provides a better option: org.typelevel.log4cats.testing.TestingLogger

Attributes

Source
WriterLogger.scala
Supertypes
class Object
trait Matchable
class Any
Self type

A SelfAwareStructuredLogger implemented using cats.data.Writer.

A SelfAwareStructuredLogger implemented using cats.data.Writer.

>>> WARNING: READ BEFORE USAGE! <<< https://github.com/typelevel/log4cats/blob/main/core/shared/src/main/scala/org/typelevel/log4cats/extras/README.md >>> WARNING: READ BEFORE USAGE! <<<

If a SelfAwareStructuredLogger is needed for test code, the testing module provides a better option: org.typelevel.log4cats.testing.StructuredTestingLogger

Attributes

Source
WriterStructuredLogger.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object WriterTLogger

A SelfAwareLogger implemented using cats.data.WriterT.

A SelfAwareLogger implemented using cats.data.WriterT.

>>> WARNING: READ BEFORE USAGE! <<< https://github.com/typelevel/log4cats/blob/main/core/shared/src/main/scala/org/typelevel/log4cats/extras/README.md >>> WARNING: READ BEFORE USAGE! <<<

If a SelfAwareLogger is needed for test code, the testing module provides a better option: org.typelevel.log4cats.testing.TestingLogger

Attributes

Source
WriterTLogger.scala
Supertypes
class Object
trait Matchable
class Any
Self type

A SelfAwareStructuredLogger implemented using cats.data.WriterT.

A SelfAwareStructuredLogger implemented using cats.data.WriterT.

>>> WARNING: READ BEFORE USAGE! <<< https://github.com/typelevel/log4cats/blob/main/core/shared/src/main/scala/org/typelevel/log4cats/extras/README.md >>> WARNING: READ BEFORE USAGE! <<<

If a SelfAwareStructuredLogger is needed for test code, the testing module provides a better option: org.typelevel.log4cats.testing.StructuredTestingLogger

Attributes

Source
WriterTStructuredLogger.scala
Supertypes
class Object
trait Matchable
class Any
Self type