Skip to content

nullscreen/epilog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9c2d79b · Sep 10, 2022
Sep 10, 2022
Sep 10, 2022
Sep 10, 2022
Sep 10, 2022
Jul 18, 2022
Dec 15, 2016
Sep 10, 2022
Sep 10, 2022
Sep 10, 2022
Sep 10, 2022
Sep 10, 2022
Sep 7, 2022
Sep 10, 2022
Sep 10, 2022

Repository files navigation

Epilog Gem

Gem Version CI Codacy Badge Code Coverage

A JSON logger with Rails support.

Documentation

Read below to get started, or see the API Documentation for more details.

Installation

Add this line to your application's Gemfile:

gem 'epilog'

Basic Usage

This logger is compatible with the native Ruby Logger interface. To use it, just create an instance of Epilog::Logger.

logger = Epilog::Logger.new($stdout)

Rails Support

To use Epilog with Rails, simply override the Rails default logger with an Epilog logger. Do this in your application.rb or <environment>.rb.

config.logger = Epilog::Logger.new($stdout)
config.logger.progname = 'epilog'
config.log_level = :debug

Development

You can run bin/console for an interactive prompt that will allow you to experiment.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/nullscreen/epilog.