Sha256: e8ec57b95b3e1cd1e821f23f0aef2b3ca86c1c643acda27665451a76063d42bc

Contents?: true

Size: 162 Bytes

Versions: 16

Compression:

Stored size: 162 Bytes

Contents

class AlephLogFormatter < Logger::Formatter
  def call(severity, timestamp, _progname, msg)
    "#{timestamp.to_formatted_s(:db)} #{severity} #{msg}\n"
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
aleph_analytics-0.4.9.pre.dev lib/aleph_log_formatter.rb
aleph_analytics-0.4.8 lib/aleph_log_formatter.rb
aleph_analytics-0.4.7 lib/aleph_log_formatter.rb
aleph_analytics-0.4.4 lib/aleph_log_formatter.rb
aleph_analytics-0.4.2 lib/aleph_log_formatter.rb
aleph_analytics-0.4.1 lib/aleph_log_formatter.rb
aleph_analytics-0.3.0 lib/aleph_log_formatter.rb
aleph_analytics-0.2.0 lib/aleph_log_formatter.rb
aleph_analytics-0.1.0 lib/aleph_log_formatter.rb
aleph_analytics-0.0.6 lib/aleph_log_formatter.rb
aleph_analytics-0.0.5 lib/aleph_log_formatter.rb
aleph_analytics-0.0.4 lib/aleph_log_formatter.rb
aleph_analytics-0.0.3 lib/aleph_log_formatter.rb
aleph_analytics-0.0.2 lib/aleph_log_formatter.rb
aleph_analytics-0.0.1.alpha lib/aleph_log_formatter.rb
aleph_analytics-0.0.0.alpha lib/aleph_log_formatter.rb