Sha256: d93afb101b8c886b0a531dfb380afd6070490cc511496db8056c8f8479756da1
Contents?: true
Size: 346 Bytes
Versions: 18
Compression:
Stored size: 346 Bytes
Contents
require 'logging' module Junkie # Utility module that includes a logging function `log` into the class # that includes this mdoule module Log # constructs a new Logger for the class # # @return [Logging.logger] returns a Logger instance for the current class def log @log ||= Logging.logger[self] end end end
Version data entries
18 entries across 18 versions & 1 rubygems