Sha256: 5f889f08eb03688eae32076e68e57f87a525c5e8ac88c51bf85a1d867821a1e4
Contents?: true
Size: 715 Bytes
Versions: 9
Compression:
Stored size: 715 Bytes
Contents
warn "MfDebugger if deprecated. Please use MetricFu.logger" MetricFu.lib_require { "logger" } module MfDebugger extend self class Logger def self.debug_on warn "MfDebugger if deprecated. Please use MetricFu.logger" MetricFu.logger.debug_on end def self.debug_on=(bool) warn "MfDebugger if deprecated. Please use MetricFu.logger" MetricFu.logger.level = bool ? "debug" : "info" end def self.log(msg, &_block) warn "MfDebugger if deprecated. Please use MetricFu.logger" MetricFu.logger.info msg end def self.debug(msg, &_block) warn "MfDebugger if deprecated. Please use MetricFu.logger" MetricFu.logger.debug msg end end end
Version data entries
9 entries across 9 versions & 3 rubygems