epimorphics / json-rails-logger

A custom rails logger that outputs JSON instead of raw text
MIT License
1 stars 1 forks source link

Set the base class to ActiveSupport::Logger #40

Closed ijdickinson closed 2 years ago

ijdickinson commented 2 years ago

This commit addresses #39 by setting the base class of the logger to ActiveSupport::Logger, so that JsonRailsLogger can always meet the contract expected by a Rails logger. Without this, errors are seen when running in development mode with the logger set to JsonRailsLogger

This commit also mixes in some minor clean-ups: