Sha256: 6e788772d887ba46ca762aa1a6b6ca5c45d3dc4e91a3cc05aada2e7092218dda
Contents?: true
Size: 358 Bytes
Versions: 1
Compression:
Stored size: 358 Bytes
Contents
require 'logger' module Marvin class Logger cattr_accessor :logger class << self def setup self.logger ||= ::Logger.new(STDOUT) end def method_missing(name, *args, &blk) self.setup # Ensure the logger is setup self.logger.send(name, *args, &blk) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
Sutto-marvin-0.1.0.20081014 | lib/marvin/logger.rb |