Module: DevSuite::Utils::Logger
- Defined in:
- lib/dev_suite/utils/logger.rb,
lib/dev_suite/utils/logger/base.rb,
lib/dev_suite/utils/logger/emoji.rb,
lib/dev_suite/utils/logger/errors.rb,
lib/dev_suite/utils/logger/logger.rb,
lib/dev_suite/utils/logger/formatter.rb
Defined Under Namespace
Modules: Emoji, Formatter Classes: Base, InvalidLogLevelError
Class Method Summary collapse
-
.log(message, level: :none, emoji: nil, prefix: nil, color: nil) ⇒ Object
Logs a message using the global logger instance.
-
.logger ⇒ Base
Provides access to the global logger instance.
Class Method Details
.log(message, level: :none, emoji: nil, prefix: nil, color: nil) ⇒ Object
Logs a message using the global logger instance
23 24 25 |
# File 'lib/dev_suite/utils/logger/logger.rb', line 23 def log(, level: :none, emoji: nil, prefix: nil, color: nil) logger.log(, level: level, emoji: emoji, prefix: prefix, color: color) end |