logging

Configuration for the Erlang logger.

Package Version Hex Docs

gleam add logging
import logging.{Info}

pub fn main() {
 // Run this once at the start of your program
 logging.configure()

 // And get logging!
 logging.log(Info, "Hello, Joe!")
}

Further documentation can be found at https://hexdocs.pm/logging.

Search Document