Sha256: fdc4e9c150d7f49052faaa5c3be7a6ca0906f7ad63bd62eeb302bb3434e31a0c

Contents?: true

Size: 404 Bytes

Versions: 7

Compression:

Stored size: 404 Bytes

Contents

# 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.
      def putsd(message = '(no message)')
         $stderr.print("DEBUG: #{message}\n") if $DEBUG
      end

	end
	
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
journeta-0.1.1 lib/journeta/logger.rb
journeta-0.1.0 lib/journeta/logger.rb
journeta-0.1.6 lib/journeta/logger.rb
journeta-0.1.2 lib/journeta/logger.rb
journeta-0.1.3 lib/journeta/logger.rb
journeta-0.1.7 lib/journeta/logger.rb
journeta-0.1.4 lib/journeta/logger.rb