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/version.rb,
lib/alerty/plugin/exec.rb,
lib/alerty/plugin/file.rb,
lib/alerty/string_util.rb,
lib/alerty/plugin/stdout.rb,
lib/alerty/plugin_factory.rb
Defined Under Namespace
Classes: CLI, Command, Config, ConfigError, Error, Logger, Plugin, PluginFactory, StringUtil
Constant Summary collapse
- VERSION =
'0.2.3'
Class Method Summary collapse
Class Method Details
.logger ⇒ Object
11 12 13 14 15 |
# File 'lib/alerty.rb', line 11 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 |