butterlib/log
Values
pub fn add_primary_filters(patterns: List(String)) -> Nilpub fn add_primary_inspect() -> Nilpub fn configure(loglevel: logging.LogLevel) -> Nilpub fn debug(msg: String) -> Nilpub fn debug_and_continue(msg: String, continue: a) -> aLogs an Debug log and return a value Useful for when you want to log a debug log before returning a value
pub fn error(msg: String) -> Nilpub fn error_and_continue(msg: String, continue: a) -> aCreates an Error log and return the given value ‘a’ Useful for when you want to log an error before returning a value
pub fn info(msg: String) -> Nilpub fn info_and_continue(msg: String, continue: a) -> aLogs an Info log and return a value Useful for when you want to log an info log before returning a value
pub fn suppress_sasl_error_reports() -> Result(Nil, Nil)Suppress SASL application logs specifically This removeds the Error Reports from erlang logging
pub fn warning(msg: String) -> Nilpub fn warning_and_continue(msg: String, continue: a) -> aLogs an Warning log and return a value Useful for when you want to log a warning before returning a value