Class Yell::Event
In: lib/yell/event.rb
Parent: Object

Yell::Event.new( :info, ‘Hello World’, { :scope => ‘Application’ } ) #=> Hello World scope: Application

Methods

file   hostname   line   method   new   pid   progname   thread_id  

Classes and Modules

Class Yell::Event::Options

Constants

CallerRegexp = /^(.+?):(\d+)(?::in `(.+)')?/   regex to fetch caller attributes
CallerIndex = defined?(RUBY_ENGINE) && ["rbx", "jruby"].include?(RUBY_ENGINE) ? 1 : 2   jruby and rubinius seem to have a different caller

Attributes

level  [R]  Accessor to the log level
messages  [R]  Accessor to the log message
name  [R]  Accessor to the logger‘s name
time  [R]  Accessor to the time the log event occured

Public Class methods

Public Instance methods

Accessor to filename the log event occured

Accessor to the hostname

Accessor to the line the log event occured

Accessor to the method the log event occured

Accessor to the PID

Accessor to the progname

Accessor to the thread‘s id

[Validate]