diff options
author | Andrew Konchin <andry.konchin@gmail.com> | 2020-05-03 01:52:25 +0300 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-05-04 13:47:47 +1200 |
commit | 6483b88272f6f331b3c76123e27c0ade505c1cd1 (patch) | |
tree | 46e89b066c1ba82f6a5ce37086eeb3ea0ef6bcd2 | |
parent | 1fbd10166723aeb5d20b305be39579227b2534b0 (diff) | |
download | rack-6483b88272f6f331b3c76123e27c0ade505c1cd1.tar.gz |
Add missing Logger methods to Rack::NullLogger
-rw-r--r-- | lib/rack/null_logger.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rack/null_logger.rb b/lib/rack/null_logger.rb index 3eff73d6..d4ec3968 100644 --- a/lib/rack/null_logger.rb +++ b/lib/rack/null_logger.rb @@ -22,6 +22,11 @@ module Rack def warn? ; end def error? ; end def fatal? ; end + def debug! ; end + def error! ; end + def fatal ; end + def info! ; end + def warn! ; end def level ; end def progname ; end def datetime_format ; end @@ -34,6 +39,8 @@ module Rack def sev_threshold=(sev_threshold); end def close ; end def add(severity, message = nil, progname = nil, &block); end + def log(severity, message = nil, progname = nil, &block); end def <<(msg); end + def reopen(logdev = nil); end end end |