Class: LinterChanges::Logger
- Inherits:
-
Object
- Object
- LinterChanges::Logger
- Extended by:
- T::Sig
- Defined in:
- lib/linter_changes/logger.rb
Class Attribute Summary collapse
-
.debug_mode ⇒ Object
Returns the value of attribute debug_mode.
Class Method Summary collapse
Class Attribute Details
.debug_mode ⇒ Object
Returns the value of attribute debug_mode.
7 8 9 |
# File 'lib/linter_changes/logger.rb', line 7 def debug_mode @debug_mode end |
Class Method Details
.debug(message) ⇒ Object
10 11 12 |
# File 'lib/linter_changes/logger.rb', line 10 def debug() puts "[DEBUG] #{}" if debug_mode end |
.error(message) ⇒ Object
15 16 17 |
# File 'lib/linter_changes/logger.rb', line 15 def error() puts "[ERROR] #{}" end |