Crystal logging
- 7 levels of logging, default is info and higher to the STDOUT
examples/logging/logging.cr
require "log" Log.setup(:trace) # set the level of logging Log.trace { "Trace level" } Log.debug { "Debug level" } Log.info { "Info level" } Log.notice { "Notice level" } Log.warn { "Warn level" } Log.error { "Error level" } Log.fatal { "Fatal level" }