Sha256: 05d0dae94254e34855b24e66c8400c48b71e488202658fbdc0ce1ff475bb26b3

Contents?: true

Size: 573 Bytes

Versions: 4

Compression:

Stored size: 573 Bytes

Contents

require 'logger'
require 'saddler/reporter/github'
require 'github_status_notifier/client'
require 'github_status_notifier/error'
require 'github_status_notifier/notifier'
require 'github_status_notifier/repository'
require 'github_status_notifier/version'

module GithubStatusNotifier
  def self.default_logger
    logger = Logger.new(STDERR)
    logger.progname = 'GithubStatusNotifier'
    logger.level = Logger::WARN
    logger
  end

  def self.logger
    return @logger if @logger
    @logger = default_logger
  end

  class << self
    attr_writer :logger
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
github_status_notifier-1.0.0 lib/github_status_notifier.rb
github_status_notifier-0.1.2 lib/github_status_notifier.rb
github_status_notifier-0.1.1 lib/github_status_notifier.rb
github_status_notifier-0.1.0 lib/github_status_notifier.rb