Class: ChefConfig::NullLogger
- Inherits:
-
Object
- Object
- ChefConfig::NullLogger
- Defined in:
- lib/chef-config/logger.rb
Overview
Implements enough of Logger’s API that we can use it in place of a real logger for ‘ChefConfig.logger`
Instance Method Summary collapse
- #<<(_msg) ⇒ Object
- #add(_severity, _message = nil, _progname = nil) ⇒ Object
- #debug(_progname = nil, &block) ⇒ Object
- #deprecation(_progname = nil, &block) ⇒ Object
- #error(_progname = nil, &block) ⇒ Object
- #fatal(_progname = nil, &block) ⇒ Object
- #info(_progname = nil, &block) ⇒ Object
- #warn(_progname = nil, &block) ⇒ Object
Instance Method Details
#<<(_msg) ⇒ Object
24 25 |
# File 'lib/chef-config/logger.rb', line 24 def <<(_msg) end |
#add(_severity, _message = nil, _progname = nil) ⇒ Object
27 28 |
# File 'lib/chef-config/logger.rb', line 27 def add(_severity, = nil, _progname = nil) end |
#debug(_progname = nil, &block) ⇒ Object
30 31 |
# File 'lib/chef-config/logger.rb', line 30 def debug(_progname = nil, &block) end |
#deprecation(_progname = nil, &block) ⇒ Object
39 40 |
# File 'lib/chef-config/logger.rb', line 39 def deprecation(_progname = nil, &block) end |
#error(_progname = nil, &block) ⇒ Object
42 43 |
# File 'lib/chef-config/logger.rb', line 42 def error(_progname = nil, &block) end |
#fatal(_progname = nil, &block) ⇒ Object
45 46 |
# File 'lib/chef-config/logger.rb', line 45 def fatal(_progname = nil, &block) end |
#info(_progname = nil, &block) ⇒ Object
33 34 |
# File 'lib/chef-config/logger.rb', line 33 def info(_progname = nil, &block) end |
#warn(_progname = nil, &block) ⇒ Object
36 37 |
# File 'lib/chef-config/logger.rb', line 36 def warn(_progname = nil, &block) end |