Original posting: lpil/logging#7 (comment)
Put
main.gleamtosrc/, or use it in your own entrypoint.wrapped_logging_ffi.erltosrc/
Then things should work. Run as
$ gleam run
It will produce the following output (the "INFO" will be colored; if you want uncolored, update the flag in the wrapper)
2025-08-15T11:29:03Z INFO Hello, Joe!