Module: Log
- Included in:
- Atcoder, AtcoderTools::CLI
- Defined in:
- lib/atcoder_tools/log.rb
Constant Summary collapse
- LoggerIns =
Logger.new(STDOUT)
Instance Method Summary collapse
Instance Method Details
#log_debug(msg) ⇒ Object
10 11 12 |
# File 'lib/atcoder_tools/log.rb', line 10 def log_debug(msg) LoggerIns.debug(msg) end |
#log_error(msg) ⇒ Object
22 23 24 |
# File 'lib/atcoder_tools/log.rb', line 22 def log_error(msg) LoggerIns.error(msg) end |
#log_info(msg) ⇒ Object
14 15 16 |
# File 'lib/atcoder_tools/log.rb', line 14 def log_info(msg) LoggerIns.info(msg) end |
#log_warn(msg) ⇒ Object
18 19 20 |
# File 'lib/atcoder_tools/log.rb', line 18 def log_warn(msg) LoggerIns.warn(msg) end |