Class: Tinybucket::NullLogger
- Inherits:
-
Object
- Object
- Tinybucket::NullLogger
- Defined in:
- lib/tinybucket/null_logger.rb
Instance Attribute Summary collapse
-
#level ⇒ Object
Returns the value of attribute level.
Instance Method Summary collapse
- #debug(_progname = nil, &_block) ⇒ Object
- #debug? ⇒ Boolean
- #error(_progname = nil, &_block) ⇒ Object
- #error? ⇒ Boolean
- #fatal(_progname = nil, &_block) ⇒ Object
- #fatal? ⇒ Boolean
- #info(_progname = nil, &_block) ⇒ Object
- #info? ⇒ Boolean
- #warn(_progname = nil, &_block) ⇒ Object
- #warn? ⇒ Boolean
Instance Attribute Details
#level ⇒ Object
Returns the value of attribute level.
5 6 7 |
# File 'lib/tinybucket/null_logger.rb', line 5 def level @level end |
Instance Method Details
#debug(_progname = nil, &_block) ⇒ Object
31 |
# File 'lib/tinybucket/null_logger.rb', line 31 def debug(_progname = nil, &_block); end |
#debug? ⇒ Boolean
33 34 35 |
# File 'lib/tinybucket/null_logger.rb', line 33 def debug? false end |
#error(_progname = nil, &_block) ⇒ Object
13 |
# File 'lib/tinybucket/null_logger.rb', line 13 def error(_progname = nil, &_block); end |
#error? ⇒ Boolean
15 16 17 |
# File 'lib/tinybucket/null_logger.rb', line 15 def error? false end |
#fatal(_progname = nil, &_block) ⇒ Object
7 |
# File 'lib/tinybucket/null_logger.rb', line 7 def fatal(_progname = nil, &_block); end |
#fatal? ⇒ Boolean
9 10 11 |
# File 'lib/tinybucket/null_logger.rb', line 9 def fatal? false end |
#info(_progname = nil, &_block) ⇒ Object
25 |
# File 'lib/tinybucket/null_logger.rb', line 25 def info(_progname = nil, &_block); end |
#info? ⇒ Boolean
27 28 29 |
# File 'lib/tinybucket/null_logger.rb', line 27 def info? false end |
#warn(_progname = nil, &_block) ⇒ Object
19 |
# File 'lib/tinybucket/null_logger.rb', line 19 def warn(_progname = nil, &_block); end |
#warn? ⇒ Boolean
21 22 23 |
# File 'lib/tinybucket/null_logger.rb', line 21 def warn? false end |