Packages

p

io

odin

package odin

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. odin
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package formatter
  2. package loggers
  3. package meta
  4. package syntax

Type Members

  1. sealed abstract class Level extends AnyRef

    Message log level

  2. trait Logger[F[_]] extends AnyRef
  3. trait LoggerInstances extends AnyRef
  4. case class LoggerMessage(level: Level, message: () => String, context: Map[String, String], exception: Option[Throwable], position: Position, threadName: String, timestamp: Long) extends Product with Serializable

    Final log message that contains all the possible information to render

    Final log message that contains all the possible information to render

    level

    log level of the message

    message

    string message

    context

    some MDC

    exception

    exception if exists

    position

    origin of log

    threadName

    current thread name

    timestamp

    Epoch time in milliseconds at the moment of log

  5. trait Noop extends AnyRef

Value Members

  1. def consoleLogger[F[_]](formatter: Formatter = Formatter.default)(implicit arg0: Sync[F], arg1: Timer[F], arg2: ContextShift[F]): Logger[F]

    Basic console logger that prints to STDOUT & STDERR

    Basic console logger that prints to STDOUT & STDERR

    formatter

    formatter to use for log messages

  2. def fileLogger[F[_]](fileName: String, formatter: Formatter = Formatter.default)(implicit arg0: Concurrent[F], arg1: Timer[F], arg2: ContextShift[F]): Resource[F, Logger[F]]

    Create logger with safe log file allocation suspended inside of Resource

    Create logger with safe log file allocation suspended inside of Resource

    fileName

    name of log file to append to

    formatter

    formatter to use

  3. object Level
  4. object Logger extends Noop with LoggerInstances

Inherited from AnyRef

Inherited from Any

Ungrouped