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.0.0.rc.20 lib/albacore/logging.rb
albacore-2.0.0.rc.19 lib/albacore/logging.rb
albacore-2.0.0.rc.18 lib/albacore/logging.rb
albacore-2.0.0.rc.17 lib/albacore/logging.rb
albacore-2.0.0.rc.15 lib/albacore/logging.rb
albacore-2.0.0.rc.14 lib/albacore/logging.rb
albacore-2.0.0.rc.13 lib/albacore/logging.rb
albacore-2.0.0.rc.12 lib/albacore/logging.rb
albacore-2.0.0.rc.11 lib/albacore/logging.rb
albacore-2.0.0.rc.10 lib/albacore/logging.rb
albacore-2.0.0.rc.9 lib/albacore/logging.rb
albacore-2.0.0.rc.8 lib/albacore/logging.rb
albacore-2.0.0.rc.7 lib/albacore/logging.rb