Module: Citronella::Log
- Defined in:
- lib/logger.rb
Class Method Summary collapse
-
.logger(logger, class_name, function_name, name) ⇒ Object
A wrapper for UI methods.
Class Method Details
.logger(logger, class_name, function_name, name) ⇒ Object
A wrapper for UI methods.
35 36 37 38 39 |
# File 'lib/logger.rb', line 35 def self.logger(logger, class_name, function_name, name) if logger Logger.new(STDOUT, level: Logger::INFO).info("#{class_name} => #{function_name} => #{name}") end end |