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
6:   def self.basic( *args )
7:     return ::Logging::Layouts::Basic if args.empty?
8:     ::Logging::Layouts::Basic.new(*args)
9:   end
json( *args ) click to toggle source

Factory for the Parseable layout using JSON formatting.

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

Accessor for the Parseable layout.

   # File lib/logging/layouts/parseable.rb, line 6
6:   def self.parseable
7:     ::Logging::Layouts::Parseable
8:   end
pattern( *args ) click to toggle source

Accessor / Factory for the Pattern layout.

   # File lib/logging/layouts/pattern.rb, line 6
6:   def self.pattern( *args )
7:     return ::Logging::Layouts::Pattern if args.empty?
8:     ::Logging::Layouts::Pattern.new(*args)
9:   end
yaml( *args ) click to toggle source

Factory for the Parseable layout using YAML formatting.

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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.