Class: Kitchen::Logger::StdoutLogger

Inherits:
LogdevLogger show all
Defined in:
lib/kitchen/logger.rb

Overview

Internal class which reformats logging methods for display as console output.

Instance Method Summary collapse

Methods inherited from LogdevLogger

#<<, #banner

Instance Method Details

#debug(msg = nil, &block) ⇒ Object



124
125
126
# File 'lib/kitchen/logger.rb', line 124

def debug(msg = nil, &block)
  super("D      #{msg}", &block)
end

#error(msg = nil, &block) ⇒ Object



136
137
138
# File 'lib/kitchen/logger.rb', line 136

def error(msg = nil, &block)
  super(">>>>>> #{msg}", &block)
end

#fatal(msg = nil, &block) ⇒ Object



140
141
142
# File 'lib/kitchen/logger.rb', line 140

def fatal(msg = nil, &block)
  super("!!!!!! #{msg}", &block)
end

#info(msg = nil, &block) ⇒ Object



128
129
130
# File 'lib/kitchen/logger.rb', line 128

def info(msg = nil, &block)
  super("       #{msg}", &block)
end

#warn(msg = nil, &block) ⇒ Object



132
133
134
# File 'lib/kitchen/logger.rb', line 132

def warn(msg = nil, &block)
  super("$$$$$$ #{msg}", &block)
end