olive/logging

Types

pub type LogLevel {
  Emergency
  Error
  Notice
}

Constructors

  • Emergency
  • Error
  • Notice
pub type LogLevelFilter {
  AllLogs
  ErrorsOnly
  NoLogs
}

Constructors

  • AllLogs
  • ErrorsOnly
  • NoLogs

Functions

pub fn configure_logs(level: LogLevelFilter) -> Nil
pub fn error(msg: String) -> Nil
pub fn notice(msg: String) -> Nil
Search Document