Class: AwsAlertMonitor::Logger
- Inherits:
-
Object
- Object
- AwsAlertMonitor::Logger
- Extended by:
- Forwardable
- Defined in:
- lib/aws-alert-monitor/logger.rb
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize(args = {}) ⇒ Logger
Returns a new instance of Logger.
12 13 14 15 |
# File 'lib/aws-alert-monitor/logger.rb', line 12 def initialize(args = {}) @log_level = args[:log_level] ||= 'info' @logger = args[:logger] ||= new_logger(args) end |