logging
Configuration for the Erlang logger.
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.