class Zold::Log::Tee
Tee
logger.
Public Class Methods
new(first, second)
click to toggle source
# File lib/zold/log.rb, line 110 def initialize(first, second) @first = first @second = second end
Public Instance Methods
debug(msg)
click to toggle source
# File lib/zold/log.rb, line 115 def debug(msg) @first.debug(msg) @second.debug(msg) end
debug?()
click to toggle source
# File lib/zold/log.rb, line 120 def debug? @first.debug? || @second.debug? end
error(msg)
click to toggle source
# File lib/zold/log.rb, line 133 def error(msg) @first.error(msg) @second.error(msg) end
info(msg)
click to toggle source
# File lib/zold/log.rb, line 124 def info(msg) @first.info(msg) @second.info(msg) end
info?()
click to toggle source
# File lib/zold/log.rb, line 129 def info? @first.info? || @second.info? end