Method: CCLog#debug
- Defined in:
- lib/ls4/lib/cclog.rb
#debug(*args, &block) ⇒ Object Also known as: DEBUG
97 98 99 100 101 102 |
# File 'lib/ls4/lib/cclog.rb', line 97 def debug(*args, &block) return if @level > LEVEL_DEBUG args << block.call if block msg = args.join puts "#{@color_debug}#{caller_line(1,true)}: #{msg}#{@color_reset}" end |