Sha256: 058cd43547e617bbd243a2f7df54802779d80c4dec3cab75f751bb5e1f71c715
Contents?: true
Size: 313 Bytes
Versions: 3
Compression:
Stored size: 313 Bytes
Contents
require 'logger/colors' class Logger def helo(app, version) @app = app info "#{app} v#{version} is starting up" end def ok(msg) info(msg) end def die(msg) error(msg) Kernel.exit(-1) end def bye info "#{@app} is shutting down" end def err(msg) error(msg) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
botolo-0.70.1 | lib/botolo/logger.rb |
botolo-0.70.0 | lib/botolo/logger.rb |
botolo-0.55.2 | lib/botolo/logger.rb |