From 29b9ccab2da79ca03975a28f8e0ed66023d5cb35 Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Thu, 20 Dec 2012 09:30:50 +0100
Subject: [PATCH] Using logog for logging within the pyramid mesh element.

---
 MeshLib/Elements/TemplatePyramid.tpp | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/MeshLib/Elements/TemplatePyramid.tpp b/MeshLib/Elements/TemplatePyramid.tpp
index 9b593253e96..f51031899ff 100644
--- a/MeshLib/Elements/TemplatePyramid.tpp
+++ b/MeshLib/Elements/TemplatePyramid.tpp
@@ -10,6 +10,9 @@
  * Created on 2012-05-02 by Karsten Rink
  */
 
+// Thirdparty
+#include "logog/include/logog.hpp"
+
 #include "Node.h"
 #include "Tri.h"
 #include "Tet.h"
@@ -102,7 +105,7 @@ const Element* TemplatePyramid<NNODES,CELLPYRAMIDTYPE>::getFace(unsigned i) cons
 		else
 			return new Quad(nodes);
 	}
-	std::cerr << "Error in MeshLib::Element::getFace() - Index does not exist." << std::endl;
+	ERR("Error in MeshLib::Element::getFace() - Index %d does not exist.", i);
 	return NULL;
 }
 
@@ -111,7 +114,7 @@ unsigned TemplatePyramid<NNODES,CELLPYRAMIDTYPE>::getNFaceNodes(unsigned i) cons
 {
 	if (i<5)
 		return _n_face_nodes[i];
-	std::cerr << "Error in MeshLib::Element::getNFaceNodes() - Index does not exist." << std::endl;
+	ERR("Error in MeshLib::Element::getNFaceNodes() - Index %d does not exist.", i);
 	return 0;
 }
 
-- 
GitLab