Sha256: 4a78c1e8ff1a4d9c4d81b87317ac6f069719ae6822e8839122737db5a2c42b11
Contents?: true
Size: 308 Bytes
Versions: 7
Compression:
Stored size: 308 Bytes
Contents
class Ridgepole::Logger < ::Logger include Singleton def initialize super($stdout) self.formatter = proc do |severity, datetime, progname, msg| "#{msg}\n" end self.level = Logger::INFO end def set_debug(value) self.level = value ? Logger::DEBUG : Logger::INFO end end
Version data entries
7 entries across 7 versions & 1 rubygems