Module: Kernel
- Defined in:
- lib/crtu/utils/logger.rb
Overview
add instance to kernel so we have global acess to them
Instance Method Summary collapse
-
#all_logger ⇒ Object
Console and File log.
-
#console_logger ⇒ Object
Console only log.
-
#file_logger ⇒ Object
File only log.
Instance Method Details
#all_logger ⇒ Object
Console and File log
68 69 70 |
# File 'lib/crtu/utils/logger.rb', line 68 def all_logger GlobalLogger.instance.global_mix_logger end |
#console_logger ⇒ Object
Console only log
58 59 60 |
# File 'lib/crtu/utils/logger.rb', line 58 def console_logger GlobalLogger.instance.global_console_logger end |
#file_logger ⇒ Object
File only log
63 64 65 |
# File 'lib/crtu/utils/logger.rb', line 63 def file_logger GlobalLogger.instance.global_file_logger end |