Sha256: 784eddd83dc8bfa332f66c7cdb7c132474b5b1b4eff3e89e433b751b033a6ee0
Contents?: true
Size: 386 Bytes
Versions: 11
Compression:
Stored size: 386 Bytes
Contents
require 'logger' module Yoti module Log class << self def logger @logger || create_logger(STDOUT) end def output(output_stream) create_logger(output_stream) end private def create_logger(output_stream) @logger = Logger.new(output_stream) @logger.progname = 'Yoti' @logger end end end end
Version data entries
11 entries across 11 versions & 1 rubygems