Class: EvilEvents::Core::ActivityLogger Private
- Inherits:
-
Object
- Object
- EvilEvents::Core::ActivityLogger
- Defined in:
- lib/evil_events/core/activity_logger.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
-
.log(activity: nil, message: nil) ⇒ Object
private
Void.
- .logger ⇒ Logger private private
Class Method Details
.log(activity: nil, message: nil) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns void.
13 14 15 16 |
# File 'lib/evil_events/core/activity_logger.rb', line 13 def log(activity: nil, message: nil) progname = "[EvilEvents:#{activity}]" logger.add(logger.level, , progname) end |
.logger ⇒ Logger (private)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
23 24 25 |
# File 'lib/evil_events/core/activity_logger.rb', line 23 def logger EvilEvents::Core::Bootstrap[:config].settings.logger end |