Module: Istox::Logging::HashLogging
- Includes:
- ActiveSupport::TaggedLogging
- Defined in:
- lib/istox/logging/hash_logging.rb
Defined Under Namespace
Modules: Formatter
Class Method Summary collapse
Class Method Details
.new(logger) ⇒ Object
6 7 8 9 10 |
# File 'lib/istox/logging/hash_logging.rb', line 6 def self.new(logger) logger.formatter ||= ActiveSupport::Logger::SimpleFormatter.new logger.formatter.extend Formatter logger.extend(self) end |