class UU::Log

Attributes

loggers[RW]

Public Class Methods

instance() click to toggle source
# File lib/uu/log.rb, line 8
def self.instance
  Thread.current[:logger] ||= new
end
new() click to toggle source
# File lib/uu/log.rb, line 12
def initialize
  @loggers = {
    stderr: LoggerStderr.new(self),
    fluent: LoggerFluent.new(self),
  }
end