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