lib/facter/ec2_tag_facts.rb
################################################
#
# void debug_msg ( string txt )
#
# Used to dump debug messages if debug is set
#
void debug_msg ( string txt )
Used to dump debug messages if debug is set
void debug_msg ( string txt ) Used to dump debug messages if debug is set
def debug_msg(txt)
  if $debug.is_a? String
    File.open($debug, 'a') { |file| file.write(Time.now.strftime("%Y/%m/%d %H:%M") + " " + txt + "\n") }
  end
end
def debug_msg ( txt ) if $debug . is_a? String File . open ( $debug , 'a' ) { | file | file . write ( Time . now . strftime ( "%Y/%m/%d %H:%M" ) + " " + txt + "\n" ) } end end
void debug_msg ( string txt )
Used to dump debug messages if debug is set
void debug_msg ( string txt ) Used to dump debug messages if debug is set
txt