Sha256: 8759aed8247e992010a3dbedab87683df7528529ca974a8ffb93bf18598ac766
Contents?: true
Size: 452 Bytes
Versions: 15
Compression:
Stored size: 452 Bytes
Contents
require 'logger' require 'dply/custom_logger' module Dply module Logger class << self attr_writer :logger end def self.logger @logger ||= ::Dply::CustomLogger.new(STDOUT) end def self.stderr @stderr ||= ::Logger.new(STDERR) end def logger ::Dply::Logger.logger end def stderr ::Dply::Logger.stderr end def debug? logger.level == ::Logger::DEBUG end end end
Version data entries
15 entries across 15 versions & 1 rubygems