]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/mathml_editor/src/CLoggerConsole.cc
* code cleanup
[helm.git] / helm / DEVEL / mathml_editor / src / CLoggerConsole.cc
diff --git a/helm/DEVEL/mathml_editor/src/CLoggerConsole.cc b/helm/DEVEL/mathml_editor/src/CLoggerConsole.cc
new file mode 100644 (file)
index 0000000..194a6fa
--- /dev/null
@@ -0,0 +1,11 @@
+
+#include <iostream>
+
+#include "CLoggerConsole.hh"
+
+void
+CLoggerConsole::message(Level l, const std::string& msg)
+{
+  const char* ls[] = { "Error", "Warning", "Info", "Debug" };
+  cerr << "*** " << ls[l] << ": " << msg << endl;
+}