class EasySwig::Logger

Public Class Methods

close_logs() click to toggle source
# File lib/util/logger.rb, line 31
def close_logs
end
csv_log(dir) click to toggle source
# File lib/util/logger.rb, line 23
def csv_log dir
  @csv_log ||= ::Logger.new(File.open("#{dir}/generate.log", File::WRONLY | File::APPEND | File::CREAT))
end
doxy_log(dir) click to toggle source
# File lib/util/logger.rb, line 6
def doxy_log dir
  file = File.open("#{dir}/doxygen.log", File::WRONLY | File::APPEND | File::CREAT)
  @doxy_log ||= ::Logger.new(file)
end
gen_log(dir=nil) click to toggle source
# File lib/util/logger.rb, line 15
def gen_log dir=nil
  @gen_log ||= ::Logger.new(File.open("#{dir}/generate.log", File::WRONLY | File::APPEND | File::CREAT))
end
log(msg) click to toggle source
# File lib/util/logger.rb, line 11
def log msg
  @gen_log.info msg
end
node_log(dir=nil) click to toggle source
# File lib/util/logger.rb, line 19
def node_log dir=nil
  @gen_log
end
swig_log(dir) click to toggle source
# File lib/util/logger.rb, line 27
def swig_log dir
  @swig_log ||= ::Logger.new(File.open("#{dir}/swig.log", File::WRONLY | File::APPEND | File::CREAT))
end