Module: ThinService
- Defined in:
- lib/thin_service/logger.rb,
lib/thin_service.rb,
lib/thin_service/command.rb,
lib/thin_service/version.rb
Overview
Note: Logger concepts are from a combination of:
AlogR: http://alogr.rubyforge.org
Merb: http://merbivore.com
Defined Under Namespace
Modules: Command Classes: Log, Service
Constant Summary collapse
- VERSION =
"0.0.7"
Class Method Summary collapse
-
.log(*args) ⇒ Object
Convenience wrapper for logging, allows us to use ThinService.log.
Class Method Details
.log(*args) ⇒ Object
Convenience wrapper for logging, allows us to use ThinService.log
68 69 70 71 72 |
# File 'lib/thin_service/logger.rb', line 68 def self.log(*args) # If no logger has been defined yet at this point, log to STDOUT. $ThinServiceLogger ||= ThinService::Log.new(STDOUT, :debug) $ThinServiceLogger.log(*args) end |