Sha256: 4ee1bab1c0bece81fc6de9e49acdea3d3974c344931d80c4d6b84e2d69af08c5

Contents?: true

Size: 264 Bytes

Versions: 11

Compression:

Stored size: 264 Bytes

Contents

module Apstrings
	require 'colored'
	class Log 
		def self.info(message)
			puts "INFO : #{message}".green
		end

		def self.warn(message)
			puts "WARNING: #{message}".yellow			
		end

		def self.error(message)
			puts "ERROR: #{message}".red
		end

	end
	
	
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
apstrings-0.4.1 lib/apstrings/logger.rb
apstrings-0.4.0 lib/apstrings/logger.rb
apstrings-0.3.9 lib/apstrings/logger.rb
apstrings-0.3.8 lib/apstrings/logger.rb
apstrings-0.3.7 lib/apstrings/logger.rb
apstrings-0.3.6 lib/apstrings/logger.rb
apstrings-0.3.5 lib/apstrings/logger.rb
apstrings-0.3.4 lib/apstrings/logger.rb
apstrings-0.3.3 lib/apstrings/logger.rb
apstrings-0.3.1 lib/apstrings/logger.rb
apstrings-0.3.0 lib/apstrings/logger.rb