Support Erlang logger module
oubiwann opened this issue · comments
This is going to be a doozy of a refactor:
- Convert logjam to an actual app
- Create
logjam-srv
to maintain logjam state (config) and allow state mutation (config updates) - Update config module to read values from memory instead of file
- Add an API for updating the in-memory configuration (to support run-time changes to logging)
- Provide a dispatch mechanism for logging calls
- move lager logging into
logjam-backend-lager
- create a new module
logjam
that does the dispatching ... this should do everything from starting up logjam with a different backend to writing to logs with a different backend - create
logjam-backend-logger
module for the Erlang 21.0+logger
module
- move lager logging into
- Provide a dispatch mechanism for formatting calls
- Implement
logjam-backend-logger
This ended up being implemented very differently, using a completely different code history (inherited from the flatlog project).