Significantly refactor the code to take advantage of the erlang logger and still work work fairly closely to and maintain a similar API to the javascript target. This PR is incomplete. There are many features that need to be re-implemented and re-planned, particularly log filters and handlers.
Another significant change is using generic types and the gleam type system for attributes. This should allow for greater flexibility in registered formatters or format wrappers down the road. However, it's doing some trickery to extract Atoms from the underling erlang data structure for records.
Significantly refactor the code to take advantage of the erlang logger and still work work fairly closely to and maintain a similar API to the javascript target. This PR is incomplete. There are many features that need to be re-implemented and re-planned, particularly log filters and handlers.
Another significant change is using generic types and the gleam type system for attributes. This should allow for greater flexibility in registered formatters or format wrappers down the road. However, it's doing some trickery to extract Atoms from the underling erlang data structure for records.
4