Class: Rack::NullLogger

Inherits:
Object show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb

Instance Method Summary collapse

Constructor Details

#initialize(app) ⇒ NullLogger

Returns a new instance of NullLogger.



5
6
7
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 5

def initialize(app)
  @app = app
end

Instance Method Details

#<<(msg) ⇒ Object



37
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 37

def <<(msg); end

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



36
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 36

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

#call(env) ⇒ Object



9
10
11
12
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 9

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

#closeObject



35
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 35

def close ; end

#datetime_formatObject



27
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 27

def datetime_format ; end

#datetime_format=(datetime_format) ⇒ Object



32
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 32

def datetime_format=(datetime_format); end

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



15
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 15

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

#debug?Boolean

Returns:

  • (Boolean)


21
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 21

def debug? ; end

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



17
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 17

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

#error?Boolean

Returns:

  • (Boolean)


23
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 23

def error? ; end

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



18
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 18

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

#fatal?Boolean

Returns:

  • (Boolean)


24
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 24

def fatal? ; end

#formatterObject



28
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 28

def formatter ; end

#formatter=(formatter) ⇒ Object



33
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 33

def formatter=(formatter); end

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



14
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 14

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

#info?Boolean

Returns:

  • (Boolean)


20
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 20

def info? ;  end

#levelObject



25
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 25

def level ; end

#level=(level) ⇒ Object



30
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 30

def level=(level); end

#prognameObject



26
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 26

def progname ; end

#progname=(progname) ⇒ Object



31
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 31

def progname=(progname); end

#sev_thresholdObject



29
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 29

def sev_threshold ; end

#sev_threshold=(sev_threshold) ⇒ Object



34
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 34

def sev_threshold=(sev_threshold); end

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



19
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 19

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

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



16
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 16

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

#warn?Boolean

Returns:

  • (Boolean)


22
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb', line 22

def warn? ;  end