class Logger

Public Instance Methods

bye() click to toggle source
# File lib/botolo/logger.rb, line 15
def bye
  info "#{@app} is shutting down"
end
die(msg) click to toggle source
# File lib/botolo/logger.rb, line 11
def die(msg)
  error(msg)
  Kernel.exit(-1)
end
err(msg) click to toggle source
# File lib/botolo/logger.rb, line 19
def err(msg)
                error(msg)
end
helo(app, version) click to toggle source
# File lib/botolo/logger.rb, line 4
def helo(app, version)
  @app = app
  info "#{app} v#{version} is starting up"
end
ok(msg) click to toggle source
# File lib/botolo/logger.rb, line 8
def ok(msg)
                info(msg)
end