Module: Justlogging
- Defined in:
- lib/justlogging.rb,
lib/justlogging/agent.rb,
lib/justlogging/railtie.rb,
lib/justlogging/version.rb,
lib/justlogging/middleware.rb,
lib/justlogging/transaction.rb,
lib/justlogging/transmitter.rb,
lib/justlogging/exception_notification.rb
Defined Under Namespace
Classes: Agent, ExceptionNotification, Middleware, MissingController, Railtie, Transaction, Transmitter
Constant Summary
collapse
- VERSION =
'0.0.9'
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.subscriber ⇒ Object
Returns the value of attribute subscriber.
6
7
8
|
# File 'lib/justlogging.rb', line 6
def subscriber
@subscriber
end
|
Class Method Details
.config ⇒ Object
16
17
18
19
20
|
# File 'lib/justlogging.rb', line 16
def config
@config ||= {:ignore_exceptions => []}.merge(
YAML.load_file("#{Rails.root}/config/justlogging.yml")[Rails.env].
symbolize_keys)
end
|
.transactions ⇒ Object
8
9
10
|
# File 'lib/justlogging.rb', line 8
def transactions
@transactions ||= {}
end
|