In Files

Parent

Included Modules

Log4r::RootLogger

RootLogger should be retrieved with Logger.root or Logger.global. It’s supposed to be transparent.

Public Class Methods

new() click to toggle source

(Not documented)

# File log4r/logger.rb, line 167
    def initialize
      Log4r.define_levels(*Log4rConfig::LogLevels) # ensure levels are loaded
      @level = ALL
      @outputters = []
      Repository['root'] = self
      Repository['global'] = self
      LoggerFactory.undefine_methods(self)
    end

Public Instance Methods

add(*foo) click to toggle source

Does nothing

# File log4r/logger.rb, line 190
    def add(*foo); end
additive=(foo) click to toggle source

Does nothing

# File log4r/logger.rb, line 188
    def additive=(foo); end
is_root?() click to toggle source

(Not documented)

# File log4r/logger.rb, line 176
    def is_root?; true end
level=(alevel) click to toggle source

Set the global level. Any loggers defined thereafter will not log below the global level regardless of their levels.

# File log4r/logger.rb, line 181
    def level=(alevel); @level = alevel end
outputters=(foo) click to toggle source

Does nothing

# File log4r/logger.rb, line 184
    def outputters=(foo); end
remove(*foo) click to toggle source

Does nothing

# File log4r/logger.rb, line 192
    def remove(*foo); end
trace=(foo) click to toggle source

Does nothing

# File log4r/logger.rb, line 186
    def trace=(foo); end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.