Class: Logging::Config::Configurator::TopLevelDSL

### Home Classes Methods

### In Files

- lib/logging/config/configurator.rb

### Parent

Logging::Config::Configurator::DSL

### Methods

- ::new
- #__appenders
- #__loggers
- #__pre_config
- #appender
- #logger
- #pre_config

### Files

- History.txt
- README.rdoc

### Class/Module Index

Quicksearch

- Logging
- Logging::Appender
- Logging::Appenders
- Logging::Appenders::Buffering
- Logging::Appenders::Email
- Logging::Appenders::File
- Logging::Appenders::Growl
- Logging::Appenders::IO
- Logging::Appenders::RollingFile
- Logging::Appenders::Stderr
- Logging::Appenders::Stdout
- Logging::Appenders::StringIo
- Logging::Appenders::Syslog
- Logging::ColorScheme
- Logging::Config
- Logging::Config::Configurator
- Logging::Config::Configurator::DSL
- Logging::Config::Configurator::Error
- Logging::Config::Configurator::TopLevelDSL
- Logging::Config::YamlConfigurator
- Logging::Config::YamlConfigurator::Error
- Logging::Layout
- Logging::Layouts
- Logging::Layouts::Basic
- Logging::Layouts::Parseable
- Logging::Layouts::Pattern
- Logging::Logger
- Logging::MappedDiagnosticContext
- Logging::NestedDiagnosticContext
- Logging::Proxy
- Logging::RailsCompat
- Logging::Repository
- Logging::Repository::Singleton
- Logging::RootLogger
- Logging::Stats
- Logging::Stats::Sampler
- Logging::Stats::Tracker
- RSpec
- RSpec::Core
- RSpec::Core::Configuration
- RSpec::LoggingHelper
- RSpec::LoggingHelper
- Spec
- Spec::Runner
- Spec::Runner::Configuration
- Object
- Object::LoggingHelper
- File
- FileUtils
- Hash
- Kernel
- Module
- ReentrantMutex
- String

No matching classes.

# Logging::Config::Configurator::TopLevelDSL

### Public Class Methods

new() click to toggle source

    # File lib/logging/config/configurator.rb, line 163
    def initialize
      @loggers = []
      @appenders = []
    end

### Public Instance Methods

__appenders() click to toggle source

    # File lib/logging/config/configurator.rb, line 182
    def __appenders() @appenders; end

__loggers() click to toggle source

    # File lib/logging/config/configurator.rb, line 181
    def __loggers() @loggers; end

__pre_config() click to toggle source

    # File lib/logging/config/configurator.rb, line 180
    def __pre_config() __hash[:preconfig]; end

appender( name, &block ) click to toggle source

    # File lib/logging/config/configurator.rb, line 176
    def appender( name, &block )
      @appenders << [name, DSL.process(&block)]
    end

logger( name, &block ) click to toggle source

    # File lib/logging/config/configurator.rb, line 172
    def logger( name, &block )
      @loggers << [name, DSL.process(&block)]
    end

pre_config( &block ) click to toggle source

    # File lib/logging/config/configurator.rb, line 168
    def pre_config( &block )
      __store(:preconfig, DSL.process(&block))
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.