Module: AdGear::Infrastructure::GroupManager::Logging
Overview
The global logging instance. Uses the Ougai
JSON structured logger.
Constant Summary collapse
- Log =
Ougai::Logger.new(STDERR)
Class Method Summary collapse
-
.fatal(*args) ⇒ nil
A helper method that allows to log an error and exit.
Class Method Details
.fatal(*args) ⇒ nil
A helper method that allows to log an error and exit.
25 26 27 28 |
# File 'lib/logging.rb', line 25 def fatal(*args) Log.error(*args) exit(1) end |