Timber for Elixir is an optional upgrade you can install for your Ruby apps. Instead of completely replacing your log messages, this library automatically augments your logs with JSON metadata. Essentially turning them into rich JSON events with context. This preserves the readability of your logs while still dramatically improving the quality of your data. The end result: better logging and faster problem solving.

How it works

This is accomplished by installing our Timber Hex package into your application.

For example, it turns this familiar raw text log line:

Sent 200 in 45.ms

Into a http_server_response JSON event.

Sent 200 in 45.2ms @metadata {"dt": "2017-02-02T01:33:21.154345Z", "level": "info", "context": {"user": {"id": 1, "name": "Ben Johnson"}, "http": {"method": "GET", "host": "timber.io", "path": "/path", "request_id": "abcd1234"}}, "event": {"http_server_response": {"status": 200, "time_ms": 45.2}}}

For a complete list of events, see the events and context section.

Questions? Need help?

Chat with us, just click the talk button in the bottom right of this page.

Chat with us

Start a trial - 15 days free

Log better and solve problems faster, today. Less than 1 minutes to install.

Start a trial