A JSON logger with Rails support.
Add this line to your application’s
“by gem ‘epilog’
This logger is compatible with the native Ruby Logger interface. To use it, just create an instance of
“by logger = Epilog::Logger.new($stdout)
To use Epilog with Rails, simply override the Rails default logger with an Epilog logger. Do this in your
“by config.logger = Epilog::Logger.new($stdout) config.logger.progname = ‘epilog’ config.log_level = :debug
You can run
bin/console for an interactive prompt that will allow you to experiment.
Bug reports and pull requests are welcome on GitHub at https://github.com/machinima/epilog.
Copyright 2018 Warner Bros. Entertainment Inc.
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.