Provides beautiful console logging for Ruby applications. Implements fast, buffered log output.
When Ruby decided to reverse the order of exception backtraces, I finally gave up using the built in logging and decided restore sanity to the output of my programs once and for all!
- Thread safe global logger with per-fiber context.
- Carry along context with nested loggers.
- Enable/disable log levels per-class.
- Detailed logging of exceptions.
- Beautiful logging to the terminal or structured logging using JSON.
Please browse the source code index or refer to the guides below.
This guide explains how to use
console for logging.
This guide explains how the
console gem can be controlled using environment variables.
This guide explains how to integrate the
console output into different systems.
We welcome contributions to this project.
- Fork it.
- Create your feature branch (
git checkout -b my-new-feature).
- Commit your changes (
git commit -am 'Add some feature').
- Push to the branch (
git push origin my-new-feature).
- Create new Pull Request.
Developer Certificate of Origin
This project uses the Developer Certificate of Origin. All contributors to this project must agree to this document to have their contributions accepted.
This project is governed by the Contributor Covenant. All contributors and participants agree to abide by its terms.