Module: Dply::Logger
- Included in:
- AppConfig, Cli::Build, Cli::Deploy, Cli::Devbuild, Cli::Run, Cli::Setup, Cli::Status, Cli::Task, ReleaseHelper, Dplyr::Cli, Dplyr::RemoteTask, Dplyr::Report, Dplyr::TaskRunner
- Defined in:
- lib/dply/logger.rb
Class Attribute Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
Class Attribute Details
.logger ⇒ Object
10 11 12 |
# File 'lib/dply/logger.rb', line 10 def self.logger @logger ||= ::Dply::CustomLogger.new(STDOUT) end |
Class Method Details
.stderr ⇒ Object
14 15 16 |
# File 'lib/dply/logger.rb', line 14 def self.stderr @stderr ||= ::Logger.new(STDERR) end |
Instance Method Details
#debug? ⇒ Boolean
26 27 28 |
# File 'lib/dply/logger.rb', line 26 def debug? logger.level == ::Logger::DEBUG end |