Sha256: 63e92b366e2528d442d395897f324aadb90075817b81d8212a5e69def28ff7cb
Contents?: true
Size: 578 Bytes
Versions: 3
Compression:
Stored size: 578 Bytes
Contents
module Hydra::Derivatives class Logger class << self def method_missing(method_name, *arguments, &block) logger.send(method_name, *arguments, &block) rescue StandardError super end def respond_to?(method_name, _include_private = false) logger.respond_to? method_name end def respond_to_missing?(method_name, _include_private = false) logger.respond_to_missing? method_name end private def logger ActiveFedora::Base.logger || ::Logger.new(STDOUT) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hydra-derivatives-3.4.2 | lib/hydra/derivatives/logger.rb |
hydra-derivatives-3.4.1 | lib/hydra/derivatives/logger.rb |
hydra-derivatives-3.4.0 | lib/hydra/derivatives/logger.rb |