Class: Alerty
- Inherits:
-
Object
- Object
- Alerty
- Defined in:
- lib/alerty.rb,
lib/alerty/cli.rb,
lib/alerty/error.rb,
lib/alerty/config.rb,
lib/alerty/logger.rb,
lib/alerty/command.rb,
lib/alerty/plugin/exec.rb,
lib/alerty/plugin/file.rb,
lib/alerty/string_util.rb,
lib/alerty/plugin/stdout.rb
Defined Under Namespace
Classes: CLI, Command, Config, ConfigError, Error, Logger, Plugin, StringUtil
Class Method Summary collapse
Class Method Details
.logger ⇒ Object
9 10 11 12 13 |
# File 'lib/alerty.rb', line 9 def self.logger @logger ||= Logger.new(Config.log_path, Config.log_shift_age, Config.log_shift_size).tap do |logger| logger.level = Config.log_level end end |