Module: EasyLog4r::EasyLogger
- Defined in:
- lib/easy_log4r/easy_logger.rb
Overview
EasyLogger
This class is what sets up the EasyLog4r Logger in your class when you include it in the class.
Class Method Summary collapse
-
.included(base) ⇒ Object
Included hook which calls EasyLog4r::Logger#add_logger.
Class Method Details
.included(base) ⇒ Object
Included hook which calls EasyLog4r::Logger#add_logger
10 11 12 |
# File 'lib/easy_log4r/easy_logger.rb', line 10 def self.included(base) EasyLog4r::Logger.add_logger(base, EasyLog4r::Logger.get_logger(base)) end |