Sha256: 73161ff52f084abd2611ceb60918d7f2f4c478d5eedeb2f63908a63bb9c5e73b
Contents?: true
Size: 240 Bytes
Versions: 2
Compression:
Stored size: 240 Bytes
Contents
module Bullet class BulletLogger < Logger LOG_FILE = File.join(Rails.root, 'log/bullet.log') def format_message(severity, timestamp, progname, msg) "#{timestamp.to_formatted_s(:db)}[#{severity}] #{msg}\n" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bullet-2.0.0.beta.2 | lib/bullet/logger.rb |
bullet-2.0.0.beta.1 | lib/bullet/logger.rb |