class Logger::LogDevice

def open_logfile(filename)

def open_logfile(filename)
  begin
    File.open(filename, (File::WRONLY | File::APPEND))
  rescue Errno::ENOENT
    create_logfile(filename)
  end
end