log

Types

pub opaque type Logger

Constants

pub const log_level_debug: Int
pub const log_level_error: Int
pub const log_level_fatal: Int
pub const log_level_info: Int
pub const log_level_warn: Int

Functions

pub fn debug(logger: Logger, value: a) -> a
pub fn error(logger: Logger, value: String) -> String
pub fn fatal(logger: Logger, value: String) -> String
pub fn info(logger: Logger, value: String) -> String
pub fn new_logger() -> Logger
pub fn warn(logger: Logger, value: String) -> String
Search Document