Skip to content

v2.0.0

Choose a tag to compare

@timstott timstott released this 27 Oct 10:04
· 159 commits to master since this release

Added

  • Human readable formatter SimpleFormatter
  • LOGA_FORMAT environment variable to switch between (gelf|simple) formatters
  • Added format and filter_exceptions configuration options

Changed

Configuration interface

  • Configure via Hash instead of Block
  • String only service_version configuration option

Rails

  • Use Loga everywhere with environment based configuration
  • Added ActiveRecord::RecordNotFound to default filter_exceptions
  • Removed enabled and silence_rails_rack_logger configure options
  • Enforce Rails configuration options over Loga where possible

Sinatra

  • Removed logger and tags parameters in Loga::Rack::Logger

Fixed

  • Uninitialized Loga.logger in Rails