| Class | Yell::Event |
| In: |
lib/yell/event.rb
|
| Parent: | Object |
Yell::Event.new( :info, ‘Hello World’, { :scope => ‘Application’ } ) #=> Hello World scope: Application
| 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 |
| 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 |