Sha256: 8a29e215b7647c9102166bbe143a5f0714bba29d18b24d4a5068b47500104836
Contents?: true
Size: 317 Bytes
Versions: 6
Compression:
Stored size: 317 Bytes
Contents
require 'logger' module Graphiterb class << self; attr_accessor :log end def self.instantiate_logger! Graphiterb.log ||= Logger.new(Settings[:log] || STDOUT) Graphiterb.log.datetime_format = "%Y%m%d-%H:%M:%S " Graphiterb.log.level = Logger::INFO end end Graphiterb.instantiate_logger!
Version data entries
6 entries across 6 versions & 1 rubygems