Module: Logging::Layouts

### Home Classes Methods

### In Files

- lib/logging/layouts.rb
- lib/logging/layouts/basic.rb
- lib/logging/layouts/parseable.rb
- lib/logging/layouts/pattern.rb

### Namespace

- CLASS Logging::Layouts::Basic
- CLASS Logging::Layouts::Parseable
- CLASS Logging::Layouts::Pattern

### Methods

- ::basic
- ::json
- ::parseable
- ::pattern
- ::yaml

### 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::Layouts

### Public Class Methods

basic( *args ) click to toggle source

Accessor / Factory for the Basic layout.

    # File lib/logging/layouts/basic.rb, line 6
    def self.basic( *args )
      return ::Logging::Layouts::Basic if args.empty?
      ::Logging::Layouts::Basic.new(*args)
    end

json( *args ) click to toggle source

Factory for the Parseable layout using JSON formatting.

    # File lib/logging/layouts/parseable.rb, line 12
    def self.json( *args )
      ::Logging::Layouts::Parseable.json(*args)
    end

parseable() click to toggle source

Accessor for the Parseable layout.

    # File lib/logging/layouts/parseable.rb, line 6
    def self.parseable
      ::Logging::Layouts::Parseable
    end

pattern( *args ) click to toggle source

Accessor / Factory for the Pattern layout.

    # File lib/logging/layouts/pattern.rb, line 6
    def self.pattern( *args )
      return ::Logging::Layouts::Pattern if args.empty?
      ::Logging::Layouts::Pattern.new(*args)
    end

yaml( *args ) click to toggle source

Factory for the Parseable layout using YAML formatting.

    # File lib/logging/layouts/parseable.rb, line 18
    def self.yaml( *args )
      ::Logging::Layouts::Parseable.yaml(*args)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.