Class: Rack::NullLogger

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

Instance Method Summary collapse

Constructor Details

#initialize(app) ⇒ NullLogger

Returns a new instance of NullLogger.



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

def initialize(app)
  @app = app
end

Instance Method Details

#<<(msg) ⇒ Object



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

def <<(msg); end

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



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

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

#call(env) ⇒ Object



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

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

#closeObject



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

def close ; end

#datetime_formatObject



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

def datetime_format ; end

#datetime_format=(datetime_format) ⇒ Object



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

def datetime_format=(datetime_format); end

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



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

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

#debug!Object



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

def debug! ; end

#debug?Boolean

Returns:

  • (Boolean)


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

def debug? ; end

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



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

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

#error!Object



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

def error! ; end

#error?Boolean

Returns:

  • (Boolean)


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

def error? ; end

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



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

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

#fatal!Object



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

def fatal! ; end

#fatal?Boolean

Returns:

  • (Boolean)


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

def fatal? ; end

#formatterObject



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

def formatter ; end

#formatter=(formatter) ⇒ Object



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

def formatter=(formatter); end

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



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

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

#info!Object



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

def info! ; end

#info?Boolean

Returns:

  • (Boolean)


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

def info? ;  end

#levelObject



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

def level ; end

#level=(level) ⇒ Object



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

def level=(level); end

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



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

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

#prognameObject



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

def progname ; end

#progname=(progname) ⇒ Object



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

def progname=(progname); end

#reopen(logdev = nil) ⇒ Object



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

def reopen(logdev = nil); end

#sev_thresholdObject



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

def sev_threshold ; end

#sev_threshold=(sev_threshold) ⇒ Object



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

def sev_threshold=(sev_threshold); end

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



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

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

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



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

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

#warn!Object



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

def warn! ; end

#warn?Boolean

Returns:

  • (Boolean)


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

def warn? ;  end