class Alog::Alogger

class Alogger Inherited from standard library Logger

Public Class Methods

new(args) click to toggle source
# File lib/alog.rb, line 32
def initialize(args)
  @log = Logger.new(*args)
end

Public Instance Methods

log(msg, type = :debug, &block) click to toggle source
# File lib/alog.rb, line 36
def log(msg, type = :debug, &block)
  @log.send(type, msg)
end