Module: Hoe::ManualGen::Logging

Included in:
PageCatalog, PageFilter
Defined in:
lib/hoe/manualgen.rb

Instance Method Summary collapse

Instance Method Details

#log(message) ⇒ Object

Output a logging message



66
67
68
# File 'lib/hoe/manualgen.rb', line 66

def log( message )
	$stderr.puts( message )
end

#trace(*messages) ⇒ Object

Output a message if tracing or running in verbose mode



71
72
73
# File 'lib/hoe/manualgen.rb', line 71

def trace( *messages )
	$stderr.puts( messages.join ) if $VERBOSE || Rake.application.options.trace
end