Sha256: 0e36020c9fdac52a69a302d0f39c8bc65ea61a1613da43b9599d927720b2f8a2

Contents?: true

Size: 811 Bytes

Versions: 17

Compression:

Stored size: 811 Bytes

Contents

require_relative '../../lib/scoutui'

COLORS = [ RED = 0, YELLOW = 1, GREEN = 3]


COLORS.each do |x|
    puts x
end



puts "RED : #{COLORS[RED]}"

Scoutui::Logger::LogMgr.instance.setLevel('debug')
Scoutui::Logger::LogMgr.instance.debug "DEBUG - Hello"

Scoutui::Logger::LogMgr.instance.setLevel('info')
Scoutui::Logger::LogMgr.instance.info "INFO - Hello"

Scoutui::Logger::LogMgr.instance.setLevel('warn')
Scoutui::Logger::LogMgr.instance.warn "WARN - Hello"

Scoutui::Logger::LogMgr.instance.setLevel('error')
Scoutui::Logger::LogMgr.instance.error "ERROR - Hello"
Scoutui::Logger::LogMgr.instance.fatal "FATAL - SHOULD SEE THIS"


Scoutui::Logger::LogMgr.instance.setLevel('fatal')
Scoutui::Logger::LogMgr.instance.fatal "FATAL - Hello"
Scoutui::Logger::LogMgr.instance.error "ERROR - SHOULD NOT SEE THIS"

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
scoutui-2.0.3.56.pre examples/enums/my_enum.rb
scoutui-2.0.3.55.pre examples/enums/my_enum.rb
scoutui-2.0.3.54.pre examples/enums/my_enum.rb
scoutui-2.0.3.53.pre examples/enums/my_enum.rb
scoutui-2.0.3.52.pre examples/enums/my_enum.rb
scoutui-2.0.3.51.pre examples/enums/my_enum.rb
scoutui-2.0.3.50.pre examples/enums/my_enum.rb
scoutui-2.0.3.49.pre examples/enums/my_enum.rb
scoutui-2.0.3.48.pre examples/enums/my_enum.rb
scoutui-2.0.3.47.pre examples/enums/my_enum.rb
scoutui-2.0.3.46.pre examples/enums/my_enum.rb
scoutui-2.0.3.45.pre examples/enums/my_enum.rb
scoutui-2.0.3.44.pre examples/enums/my_enum.rb
scoutui-2.0.3.43.pre examples/enums/my_enum.rb
scoutui-2.0.3.42.pre examples/enums/my_enum.rb
scoutui-2.0.3.41.pre examples/enums/my_enum.rb
scoutui-2.0.3.40.pre examples/enums/my_enum.rb