olive/logging

Types

pub type LogLevel {
  None
  Error
  Warning
  Notice
}

Constructors

  • None
  • Error
  • Warning
  • Notice
pub opaque type Logger

Functions

pub fn error(logger: Logger, msg: String) -> Nil
pub fn get_logger(level: LogLevel) -> Logger
pub fn notice(logger: Logger, msg: String) -> Nil
pub fn warning(logger: Logger, msg: String) -> Nil
Search Document