Class: Logger
- Inherits:
-
Object
- Object
- Logger
- Defined in:
- lib/dawn/logger.rb
Instance Method Summary collapse
Instance Method Details
#bye ⇒ Object
12 13 14 |
# File 'lib/dawn/logger.rb', line 12 def bye info "#{@app} is shutting down" end |
#die(msg) ⇒ Object
8 9 10 11 |
# File 'lib/dawn/logger.rb', line 8 def die(msg) error(msg) Kernel.exit(-1) end |
#helo(app, version) ⇒ Object
4 5 6 7 |
# File 'lib/dawn/logger.rb', line 4 def helo(app, version) @app = app info "#{app} v#{version} is starting up" end |