Module: AssLauncher::Loggining
- Included in:
- Support::Shell
- Defined in:
- lib/ass_launcher/support/shell.rb
Overview
Loggining mixin
Constant Summary collapse
- DEFAULT_LEVEL =
Logger::Severity::UNKNOWN
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.default_logger ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
60 61 62 63 64 |
# File 'lib/ass_launcher/support/shell.rb', line 60 def self.default_logger l = Logger.new($stderr) l.level = DEFAULT_LEVEL l end |
.included(k) ⇒ Object
51 52 53 |
# File 'lib/ass_launcher/support/shell.rb', line 51 def self.included(k) k.extend(self) end |
Instance Method Details
#logger ⇒ Object
55 56 57 |
# File 'lib/ass_launcher/support/shell.rb', line 55 def logger AssLauncher.config.logger end |