Sha256: 1461d8f1dfff303789e6e9a57dfb37de14bc70973400df67e4e2ce129d3d3339

Contents?: true

Size: 342 Bytes

Versions: 2

Compression:

Stored size: 342 Bytes

Contents

# frozen_string_literal: true

require 'forwardable'

module UU
  module Loggable
    def self.included(mod)
      mod.extend self
    end

    extend Forwardable

    def_delegators \
      :'::UU::Log.instance', \
      :debug, :info, :warn, :error, :fatal, :with

    def_delegators :'::UU::LoggerFluent::Formatter', :tag, :tag=
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
uu-0.2.2 lib/uu/loggable.rb
uu-0.2.1 lib/uu/loggable.rb