logging
Types
Functions
pub fn configure() -> Nil
Configure 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) -> Nil
Log a message to the Erlang logger at the given log level.