wolf
gleam add wolf
import wolf
pub fn main() {
//This logs to the console
wolf.warn("This is a warning message")
wolf.error("This is an error message")
//This logs to a file
wolf.log_to_file("This is a log message", "log.txt", wolf.Warning)
}
Further documentation can be found at https://hexdocs.pm/wolf.
Development
gleam run # Run the project
gleam test # Run the tests
gleam shell # Run an Erlang shell