Sha256: 0f1b03acbb9d45b8933a8a92565f3ebf7f427346bd4fc0a1467ad6ce7d73e6a8

Contents?: true

Size: 318 Bytes

Versions: 2

Compression:

Stored size: 318 Bytes

Contents

require_relative 'alerty/string_util'
require_relative 'alerty/error'
require_relative 'alerty/config'
require_relative 'alerty/command'
require_relative 'alerty/logger'

class Alerty
  def self.logger
    @logger ||= Logger.new(Config.log_path).tap do |logger|
      logger.level = Config.log_level
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alerty-0.0.2 lib/alerty.rb
alerty-0.0.1 lib/alerty.rb