Sha256: 4ee54908884f4fd58d862f0f68d0b507560f6eace73c9c59cc8dae9cb951bf8d

Contents?: true

Size: 812 Bytes

Versions: 6

Compression:

Stored size: 812 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'logger'
require 'albacore/application'

module Albacore
  module Logging
    def trace *str, &block
      ::Albacore.application.logger.debug *str, &block
    end
    def debug *str, &block
      ::Albacore.application.logger.debug *str, &block
    end
    def info *str, &block
      ::Albacore.application.logger.info *str, &block
    end
    def warn *str, &block
      ::Albacore.application.logger.warn *str, &block
    end
    def error *str, &block
      ::Albacore.application.logger.error *str, &block
    end
    def fatal *str, &block
      ::Albacore.application.logger.fatal *str, &block
    end
    def puts *str
      ::Albacore.application.puts *str
    end
    def err str
      ::Albacore.application.err str
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
albacore-2.0.0.rc.6 lib/albacore/logging.rb
albacore-2.0.0.rc.5 lib/albacore/logging.rb
albacore-2.0.0.rc.4 lib/albacore/logging.rb
albacore-2.0.0.rc.3 lib/albacore/logging.rb
albacore-2.0.0.rc.2 lib/albacore/logging.rb
albacore-2.0.0.rc.1 lib/albacore/logging.rb