logging
Types
Functions
pub fn configure() -> NilConfigure the default Erlang logger handler with a pretty Gleam output
format, and sets the logging level to Info.
Interaction with Elixir
Elixir’s built-in logger application removes Erlang’s default logger
handler and replaces it with its own code, so if you have an Elixir package
in your project then this code will not be able to configure the logger as
it could normally.
pub fn log(level: LogLevel, message: String) -> NilLog a message to the Erlang logger at the given log level.