Sha256: 2d7477ead31555ea411e6f183410253ec05f40fe5cf82d1025e712d4dc9a49cd

Contents?: true

Size: 242 Bytes

Versions: 27

Compression:

Stored size: 242 Bytes

Contents

require 'logger/colors'

class Logger
  def helo(app, version)
    @app = app
    info "#{app} v#{version} is starting up"
  end
  def die(msg)
    error(msg)
    Kernel.exit(-1)
  end
  def bye
    info "#{@app} is shutting down"
  end

end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
dawnscanner-2.2.0 lib/dawn/logger.rb
dawnscanner-2.1.1 lib/dawn/logger.rb
dawnscanner-2.1.0 lib/dawn/logger.rb
dawnscanner-2.0.0 lib/dawn/logger.rb
dawnscanner-2.0.0.rc5 lib/dawn/logger.rb
dawnscanner-2.0.0.rc4 lib/dawn/logger.rb
dawnscanner-2.0.0.rc3 lib/dawn/logger.rb
dawnscanner-2.0.0.rc2 lib/dawn/logger.rb
dawnscanner-2.0.0.rc1 lib/dawn/logger.rb
dawnscanner-1.6.9 lib/dawn/logger.rb
dawnscanner-1.6.8 lib/dawn/logger.rb
botolo-0.55.0 lib/botolo/logger.rb
dawnscanner-1.6.7 lib/dawn/logger.rb
dawnscanner-1.6.6 lib/dawn/logger.rb
dawnscanner-1.6.5 lib/dawn/logger.rb
dawnscanner-1.6.4 lib/dawn/logger.rb
dawnscanner-1.6.3 lib/dawn/logger.rb
dawnscanner-1.6.2 lib/dawn/logger.rb
dawnscanner-1.6.1 lib/dawn/logger.rb
dawnscanner-1.6.0 lib/dawn/logger.rb