Sha256: bf4aea2f06f9979008bba0490be98670adaaab1e0fd1e79c3cfb457cca1477e9
Contents?: true
Size: 392 Bytes
Versions: 8
Compression:
Stored size: 392 Bytes
Contents
require 'logger' module ReVIEW class Logger < ::Logger def initialize(*logdev) if logdev.empty? super(STDERR) self.formatter = ->(severity, _datetime, _progname, msg) { "#{severity}: #{msg}\n" } else super end end end def self.logger @logger ||= ReVIEW::Logger.new end def self.logger=(logger) @logger = logger end end
Version data entries
8 entries across 8 versions & 1 rubygems