Module: Hoe::ManualGen::Logging
- Included in:
- PageCatalog, PageFilter
- Defined in:
- lib/hoe/manualgen.rb
Instance Method Summary collapse
-
#log(message) ⇒ Object
Output a logging message.
-
#trace(*messages) ⇒ Object
Output a message if tracing or running in verbose mode.
Instance Method Details
#log(message) ⇒ Object
Output a logging message
66 67 68 |
# File 'lib/hoe/manualgen.rb', line 66 def log( ) $stderr.puts( ) 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( * ) $stderr.puts( .join ) if $VERBOSE || Rake.application..trace end |