Sha256: 9d5b35dab474150a49d03056e9a46d7474b22f51cffcc6fe86c7f6d9efe261d5
Contents?: true
Size: 348 Bytes
Versions: 29
Compression:
Stored size: 348 Bytes
Contents
module UniverseCompiler module Utils module BasicLogger class NullLogger def method_missing(*args) # Do nothing end end def logger=(logger) @logger = logger yield logger if block_given? end def logger @logger ||= NullLogger.new end end end end
Version data entries
29 entries across 29 versions & 1 rubygems