diff options
Diffstat (limited to 'vendor/gems/rack-1.1.0/lib/rack/nulllogger.rb')
-rw-r--r-- | vendor/gems/rack-1.1.0/lib/rack/nulllogger.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/vendor/gems/rack-1.1.0/lib/rack/nulllogger.rb b/vendor/gems/rack-1.1.0/lib/rack/nulllogger.rb deleted file mode 100644 index 77fb637de..000000000 --- a/vendor/gems/rack-1.1.0/lib/rack/nulllogger.rb +++ /dev/null @@ -1,18 +0,0 @@ -module Rack - class NullLogger - def initialize(app) - @app = app - end - - def call(env) - env['rack.logger'] = self - @app.call(env) - end - - def info(progname = nil, &block); end - def debug(progname = nil, &block); end - def warn(progname = nil, &block); end - def error(progname = nil, &block); end - def fatal(progname = nil, &block); end - end -end |