Class: BeanStalk::Worker::Log::Formatter

Inherits:
Object
  • Object
show all
Defined in:
lib/beanstalk-worker/logger.rb

Overview

Monkeypatch Formatter to allow local show_time updates.

Class Method Summary collapse

Class Method Details

.show_time=(*args) ⇒ Object

Allow enabling and disabling of time with a singleton.



38
39
40
# File 'lib/beanstalk-worker/logger.rb', line 38

def self.show_time=(*args)
  Mixlib::Log::Formatter.show_time = *args
end