Sha256: 8bf9e925186fc3a57149f37ef4136968346429c9c6ad0c12b9eb542aaf83b94f

Contents?: true

Size: 123 Bytes

Versions: 14

Compression:

Stored size: 123 Bytes

Contents

module Symbiont
  def self.trace(message, level=1)
    puts("*" * level + " #{message}") if ENV['TRACE'] == 'on'
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
symbiont-0.2.1 lib/symbiont/logger.rb
symbiont-0.2.0 lib/symbiont/logger.rb
symbiont-0.1.9 lib/symbiont/logger.rb
symbiont-0.1.8 lib/symbiont/logger.rb
symbiont-0.1.7 lib/symbiont/logger.rb
symbiont-0.1.6 lib/symbiont/logger.rb
symbiont-0.1.5 lib/symbiont/logger.rb
symbiont-0.1.4 lib/symbiont/logger.rb
symbiont-0.1.3 lib/symbiont/logger.rb
symbiont-0.1.2 lib/symbiont/logger.rb
symbiont-0.1.1 lib/symbiont/logger.rb
symbiont-0.1.0 lib/symbiont/logger.rb
symbiont-0.0.4 lib/symbiont/logger.rb
symbiont-0.0.3 lib/symbiont/logger.rb