Sha256: c570009fe50785eb961eee51fcc31e90af1b7a13c38ce181d9612bfc5fc2b55a

Contents?: true

Size: 432 Bytes

Versions: 2

Compression:

Stored size: 432 Bytes

Contents

require "capistrano/smartlogging/configuration"
require "capistrano/smartlogging/formatter"
require "capistrano/smartlogging/version"

require "sshkit/formatter/smartlogging"

module Capistrano
  module Smartlogging
    def self.configuration
      @configuration ||= Configuration.new
    end

    def self.reset
      @configuration = Configuration.new
    end

    def self.configure
      yield(configuration)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capistrano-smartlogging-0.1.1 lib/capistrano/smartlogging.rb
capistrano-smartlogging-0.1.0 lib/capistrano/smartlogging.rb