Project

console

0.42
There's a lot of open issues
A long-lived project that still receives updates
Beautiful logging for Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
 Dependencies

Development

>= 0
~> 0.18.1
~> 0.14

Runtime

 Project Readme

Console

Provides beautiful console logging for Ruby applications. Implements fast, buffered log output.

Development Status

Motivation

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!

Features

  • 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.

Usage

Please see the project documentation.

Contributing

We welcome contributions to this project.

  1. Fork it.
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin my-new-feature).
  5. Create new Pull Request.