Skip to content
Snippets Groups Projects
Commit 5e42fe04 authored by Tom Fischer's avatar Tom Fischer
Browse files

Using logog logging within class Gmsh2GeoIO.

parent b49f1fec
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,10 @@ ...@@ -12,7 +12,10 @@
#include <fstream> #include <fstream>
#include <vector> #include <vector>
// Base // ThirdParty/logog
#include "logog/include/logog.hpp"
// BaseLib
#include "StringTools.h" #include "StringTools.h"
#include "GEOObjects.h" #include "GEOObjects.h"
...@@ -26,7 +29,7 @@ void Gmsh2GeoIO::loadMeshAsGeometry (std::string & fname, GeoLib::GEOObjects* ge ...@@ -26,7 +29,7 @@ void Gmsh2GeoIO::loadMeshAsGeometry (std::string & fname, GeoLib::GEOObjects* ge
std::ifstream ins (fname.c_str()); std::ifstream ins (fname.c_str());
if (!ins) if (!ins)
{ {
std::cout << "could not open file " << fname << std::endl; WARN("Gmsh2GeoIO::loadMeshAsGeometry(): could not open file %s", fname.c_str());
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment