Class: Rack::NullLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/null_logger.rb

Instance Method Summary collapse

Constructor Details

#initialize(app) ⇒ NullLogger


3
4
5
# File 'lib/rack/null_logger.rb', line 3

def initialize(app)
  @app = app
end

Instance Method Details

#<<(msg) ⇒ Object


35
# File 'lib/rack/null_logger.rb', line 35

def <<(msg); end

#add(severity, message = nil, progname = nil, &block) ⇒ Object


34
# File 'lib/rack/null_logger.rb', line 34

def add(severity, message = nil, progname = nil, &block); end

#call(env) ⇒ Object


7
8
9
10
# File 'lib/rack/null_logger.rb', line 7

def call(env)
  env[RACK_LOGGER] = self
  @app.call(env)
end

#closeObject


33
# File 'lib/rack/null_logger.rb', line 33

def close ; end

#datetime_formatObject


25
# File 'lib/rack/null_logger.rb', line 25

def datetime_format ; end

#datetime_format=(datetime_format) ⇒ Object


30
# File 'lib/rack/null_logger.rb', line 30

def datetime_format=(datetime_format); end

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


13
# File 'lib/rack/null_logger.rb', line 13

def debug(progname = nil, &block); end

#debug?Boolean


19
# File 'lib/rack/null_logger.rb', line 19

def debug? ; end

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


15
# File 'lib/rack/null_logger.rb', line 15

def error(progname = nil, &block); end

#error?Boolean


21
# File 'lib/rack/null_logger.rb', line 21

def error? ; end

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


16
# File 'lib/rack/null_logger.rb', line 16

def fatal(progname = nil, &block); end

#fatal?Boolean


22
# File 'lib/rack/null_logger.rb', line 22

def fatal? ; end

#formatterObject


26
# File 'lib/rack/null_logger.rb', line 26

def formatter ; end

#formatter=(formatter) ⇒ Object


31
# File 'lib/rack/null_logger.rb', line 31

def formatter=(formatter); end

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


12
# File 'lib/rack/null_logger.rb', line 12

def info(progname = nil, &block); end

#info?Boolean


18
# File 'lib/rack/null_logger.rb', line 18

def info? ;  end

#levelObject


23
# File 'lib/rack/null_logger.rb', line 23

def level ; end

#level=(level) ⇒ Object


28
# File 'lib/rack/null_logger.rb', line 28

def level=(level); end

#prognameObject


24
# File 'lib/rack/null_logger.rb', line 24

def progname ; end

#progname=(progname) ⇒ Object


29
# File 'lib/rack/null_logger.rb', line 29

def progname=(progname); end

#sev_thresholdObject


27
# File 'lib/rack/null_logger.rb', line 27

def sev_threshold ; end

#sev_threshold=(sev_threshold) ⇒ Object


32
# File 'lib/rack/null_logger.rb', line 32

def sev_threshold=(sev_threshold); end

#unknown(progname = nil, &block) ⇒ Object


17
# File 'lib/rack/null_logger.rb', line 17

def unknown(progname = nil, &block); end

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


14
# File 'lib/rack/null_logger.rb', line 14

def warn(progname = nil, &block); end

#warn?Boolean


20
# File 'lib/rack/null_logger.rb', line 20

def warn? ;  end