Sha256: 77abe01c78f5813e2504fae332031bfc06d4778e2b6512dbe816f0031da127d9

Contents?: true

Size: 539 Bytes

Versions: 1

Compression:

Stored size: 539 Bytes

Contents

# = Logger
#
# A simple wrapper arround the Ruby logger. Mainly for compatibility
# purposes.
#
# code: tml
#
# (c) 2004 Navel, all rights reserved.
# $Id: logger.rb 71 2004-10-18 10:50:22Z gmosx $

require "logger"

class Logger
	alias_method :devel, :debug
	alias_method :fine, :debug
	
	def detach
	end
	
	# Used for debuging, remove this in release code.
	#
	def d(str)
		self << "#{str}\n"
	end

	# Inspect an object. Used for debugging, remove this in release
	# code.
	#
	def i(obj)
		self << "Inspect #{obj.inspect()}\n"
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.1.2 lib/n/logger.rb