class Rootage::NullLogger

‘NullLogger` is a logger that ignores all messages.

Attributes

level[RW]

Public Class Methods

new() click to toggle source
# File lib/rootage/log.rb, line 113
def initialize
  @level = :info
end

Public Instance Methods

debug(msg, pos=caller(1).first, pid=Process.pid) click to toggle source
# File lib/rootage/log.rb, line 121
def debug(msg, pos=caller(1).first, pid=Process.pid); end
error(msg, pos=caller(1).first, pid=Process.pid) click to toggle source
# File lib/rootage/log.rb, line 118
def error(msg, pos=caller(1).first, pid=Process.pid); end
fatal(msg, pos=caller(1).first, pid=Process.pid) click to toggle source
# File lib/rootage/log.rb, line 117
def fatal(msg, pos=caller(1).first, pid=Process.pid); end
info(msg, pos=caller(1).first, pid=Process.pid) click to toggle source
# File lib/rootage/log.rb, line 120
def info (msg, pos=caller(1).first, pid=Process.pid); end
queued?() click to toggle source
# File lib/rootage/log.rb, line 127
def queued?
  false
end
terminate() click to toggle source
# File lib/rootage/log.rb, line 123
def terminate
  # ignore
end
warn(msg, pos=caller(1).first, pid=Process.pid) click to toggle source
# File lib/rootage/log.rb, line 119
def warn (msg, pos=caller(1).first, pid=Process.pid); end