lib/journeta/logger.rb in journeta-0.0.5 vs lib/journeta/logger.rb in journeta-0.1.0
- old
+ new
@@ -1,12 +1,13 @@
# Copyright 2007, OpenRain, LLC. All rights reserved.
module Journeta
+ # A silly logging implementation intended for internal use only. Nothing to see here!
module Logger
- # a thread safe method for printing the given string if and only if debugging is enabled
+ # A thread safe method for printing the given string if and only if debugging is enabled.
def putsd(message = '(no message)')
$stderr.print("DEBUG: #{message}\n") if $DEBUG
end
end
\ No newline at end of file