Sha256: 7621d701bd428ab0453c1a19b2204c4adab28ff52d7c7bf530930eab55c94669

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 Bytes

Contents


l = Tlogger.new
l.tag = "dance"
#l.activate_tag(Tlogger::TloggerConf::INT_TAG)

l.debug "here"

#Tlogger::TloggerConf.blacklist_tag("jan")

l.with_tag 'jan' do
  l.debug "inside"
  puts "inside string"
  l.debug "outside"
end

l.debug "towards the end"

l.tdebug :hans, "hans here"
l.terror :solo, "Error!"
l.tinfo :luke, "This is info!"
l.twarn :sky, "Sky is the limit"

#l.warn "warning!!"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tlogger-0.5.0 samples/basic2.rb