Module: Gat::Debug

Included in:
Base, Logger
Defined in:
lib/gat/debug.rb

Instance Method Summary collapse

Instance Method Details

#get_debug_levelsObject



25
26
27
# File 'lib/gat/debug.rb', line 25

def get_debug_levels
  { "trace" => 4, "message" => 3, "warning" => 2, "error" => 1, "direct_output" => 0 }
end


21
22
23
# File 'lib/gat/debug.rb', line 21

def print_debug_msg(message)
  $stdout.puts "* debug *:  #{ message } \n"
end