123456789_123456789_123456789_123456789_123456789_

Class: Rack::NullLogger

Relationships & Source Files
Inherits: Object
Defined in: lib/rack/null_logger.rb

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(app) ⇒ NullLogger

[ GitHub ]

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

def initialize(app)
  @app = app
end

Instance Attribute Details

#datetime_format (rw)

[ GitHub ]

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

def datetime_format ; end

#datetime_format=(datetime_format) (rw)

[ GitHub ]

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

def datetime_format=(datetime_format); end

#debug?Boolean (readonly)

[ GitHub ]

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

def debug? ; end

#error?Boolean (readonly)

[ GitHub ]

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

def error? ; end

#fatal?Boolean (readonly)

[ GitHub ]

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

def fatal? ; end

#formatter (rw)

[ GitHub ]

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

def formatter ; end

#formatter=(formatter) (rw)

[ GitHub ]

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

def formatter=(formatter); end

#info?Boolean (readonly)

[ GitHub ]

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

def info? ;  end

#level (rw)

[ GitHub ]

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

def level ; end

#level=(level) (rw)

[ GitHub ]

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

def level=(level); end

#progname (rw)

[ GitHub ]

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

def progname ; end

#progname=(progname) (rw)

[ GitHub ]

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

def progname=(progname); end

#sev_threshold (rw)

[ GitHub ]

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

def sev_threshold ; end

#sev_threshold=(sev_threshold) (rw)

[ GitHub ]

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

def sev_threshold=(sev_threshold); end

#warn?Boolean (readonly)

[ GitHub ]

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

def warn? ;  end

Instance Method Details

#<<(msg)

[ GitHub ]

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

def <<(msg); end

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

[ GitHub ]

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

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

#call(env)

[ GitHub ]

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

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

#close

[ GitHub ]

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

def close ; end

#debug(progname = nil, &block) (readonly)

[ GitHub ]

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

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

#debug!

[ GitHub ]

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

def debug! ; end

#error(progname = nil, &block) (readonly)

[ GitHub ]

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

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

#error!

[ GitHub ]

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

def error! ; end

#fatal(progname = nil, &block) (readonly)

[ GitHub ]

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

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

#fatal!

[ GitHub ]

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

def fatal! ; end

#info(progname = nil, &block) (readonly)

[ GitHub ]

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

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

#info!

[ GitHub ]

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

def info! ; end

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

[ GitHub ]

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

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

#reopen(logdev = nil)

[ GitHub ]

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

def reopen(logdev = nil); end

#unknown(progname = nil, &block)

[ GitHub ]

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

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

#warn(progname = nil, &block) (readonly)

[ GitHub ]

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

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

#warn!

[ GitHub ]

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

def warn! ; end