Sha256: 9c2bbaf9dc143ec1db9a7b917cf392d03ff95d8aaf099cbb91c52e476a49a40c
Contents?: true
Size: 329 Bytes
Versions: 7
Compression:
Stored size: 329 Bytes
Contents
class Belated # Logger for Belated. # Include this module in your class to get a logger. module Logging extend self def logger @logger ||= Belated.logger end def log(message) logger.__send__(Belated.log_level, message) end def logger=(logger) @logger = logger end end end
Version data entries
7 entries across 7 versions & 1 rubygems