An open API service indexing awesome lists of open source software.

https://github.com/cvik/leg

Lightweight Erlang Logger
https://github.com/cvik/leg

Last synced: 2 months ago
JSON representation

Lightweight Erlang Logger

Awesome Lists containing this project

README

          

## leg - Lightweight Erlang Logger

Requires erlang 18.0 due to its use of maps. Work in progress.

## Example usage

```erlang
leg:start().
leg:nfo("Hello leg:ly world!", []).
```

## Default configuration

```erlang
{leg, [{appenders, [#{id=>tty,
type=>leg_appender_console,
opts=>#{}}
]},
{default_level, info}]}
```

## License

Apache license version 2.0. See the LICENSE file for details.