message: use helper::Log in adiosSystem
diff: #include "adiosSystem.h"
  #include <chrono> //system_clock, now
  #include <ctime>
  -#include <iostream> //std::cerr
  #include <stdexcept> // std::runtime_error, std::exception
  #include <system_error>
  #include "adios2/common/ADIOSTypes.h"
  #include "adios2/helper/adiosComm.h"
  #include "adios2/helper/adiosString.h"
  +#include "adios2/helper/adiosLog.h"
  // needed by IsHDF5File()
  #include "adios2/core/IO.h"
  @@ -96,26 +96,22 @@ int ExceptionToError(const std::string &function)
  }
  catch (std::invalid_argument &e)
  {
  - std::cerr << e.what() << "\n";
  - std::cerr << function << "\n";
  + helper::Log("Helper", "adiosSystem", "ExceptionToError", function, helper::LogMode::ERROR);
  return 1;
  }
  catch (std::system_error &e)
  {
  - std::cerr << e.what() << "\n";
  - std::cerr << function << "\n";
  + helper::Log("Helper", "adiosSystem", "ExceptionToError", function, helper::LogMode::ERROR);
  return 2;
  }
  catch (std::runtime_error &e)
  {
  - std::cerr << e.what() << "\n";
  - std::cerr << function << "\n";
  + helper::Log("Helper", "adiosSystem", "ExceptionToError", function, helper::LogMode::ERROR);
  return 3;
  }
  catch (std::exception &e)
  {
  - std::cerr << e.what() << "\n";
  - std::cerr << function << "\n";
  + helper::Log("Helper", "adiosSystem", "ExceptionToError", function, helper::LogMode::ERROR);
  return 4;
  }
  }
  