Sha256: 1df0e9f1262131e959172bd462e6a62578927f520edbf6b353bb1431eb4c7c5d
Contents?: true
Size: 453 Bytes
Versions: 18
Compression:
Stored size: 453 Bytes
Contents
# encoding: utf-8 require "logstash/logging/logger" require "logstash/namespace" module LogStash module Util module Loggable def self.included(klass) def klass.logger ruby_name = self.name || self.class.name || self.class.to_s log4j_name = ruby_name.gsub('::', '.').downcase @logger ||= LogStash::Logging::Logger.new(log4j_name) end def logger self.class.logger end end end end; end
Version data entries
18 entries across 18 versions & 4 rubygems