Sha256: aee734872bd018c5c4e409a7de2c6490192dae7b35d1c4d4640adb6b4143abfb

Contents?: true

Size: 818 Bytes

Versions: 33

Compression:

Stored size: 818 Bytes

Contents

# -*- encoding: utf-8 -*-

require 'logger'
require 'albacore/albacore_module'

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

33 entries across 33 versions & 1 rubygems

Version Path
albacore-2.1.2 lib/albacore/logging.rb
albacore-2.1.1 lib/albacore/logging.rb
albacore-2.0.16 lib/albacore/logging.rb
albacore-2.0.15 lib/albacore/logging.rb
albacore-2.0.14 lib/albacore/logging.rb
albacore-2.0.13 lib/albacore/logging.rb
albacore-2.0.12 lib/albacore/logging.rb
albacore-2.0.11 lib/albacore/logging.rb
albacore-2.0.10 lib/albacore/logging.rb
albacore-2.0.9 lib/albacore/logging.rb
albacore-2.0.8 lib/albacore/logging.rb
albacore-2.0.7 lib/albacore/logging.rb
albacore-2.0.6 lib/albacore/logging.rb
albacore-2.0.5 lib/albacore/logging.rb
albacore-2.0.4 lib/albacore/logging.rb
albacore-2.0.3 lib/albacore/logging.rb
albacore-2.0.2 lib/albacore/logging.rb
albacore-2.0.1 lib/albacore/logging.rb
albacore-2.0.0 lib/albacore/logging.rb
albacore-2.0.0.rc.21 lib/albacore/logging.rb