From ab1e6e7e8c401616e0943f3dcaeb633316a8daed Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Tue, 10 May 2016 08:37:54 +0200
Subject: [PATCH] [A/U] Use logog stream instead of cout.

---
 Applications/Utils/MeshEdit/appendLinesAlongPolyline.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Applications/Utils/MeshEdit/appendLinesAlongPolyline.cpp b/Applications/Utils/MeshEdit/appendLinesAlongPolyline.cpp
index 40f98fe9a8b..83244592e93 100644
--- a/Applications/Utils/MeshEdit/appendLinesAlongPolyline.cpp
+++ b/Applications/Utils/MeshEdit/appendLinesAlongPolyline.cpp
@@ -59,13 +59,14 @@ int main (int argc, char* argv[])
 	geo_objs.getGeometryNames (geo_names);
 	if (geo_names.empty ())
 	{
-		std::cout << "no geometries found" << std::endl;
+		ERR("No geometries found.");
 		return EXIT_FAILURE;
 	}
 	const GeoLib::PolylineVec* ply_vec (geo_objs.getPolylineVecObj(geo_names[0]));
 	if (!ply_vec)
 	{
-		std::cout << "could not found polylines" << std::endl;
+		ERR("Could not find polylines in geometry \"%s\".",
+		    geo_names.front().c_str());
 		return EXIT_FAILURE;
 	}
 
-- 
GitLab