Sha256: 2aaf1aac9da263f206fe86f891c773d54630176f124cbf3011f70c0009379072

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

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

l.debug "here"

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

Tlogger::TloggerConf.show_source
l.with_tag 'jan' do
  l.debug "inside"
  puts "inside string"
  l.debug "outside"
end
Tlogger::TloggerConf.hide_source

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.8.0 samples/basic2.rb