Index: /trunk/MagicSoft/Mars/mbase/MLog.cc
===================================================================
--- /trunk/MagicSoft/Mars/mbase/MLog.cc	(revision 2192)
+++ /trunk/MagicSoft/Mars/mbase/MLog.cc	(revision 2193)
@@ -93,15 +93,15 @@
 //
 //////////////////////////////////////////////////////////////////////////////
-
 #include "MLog.h"
 
-#include <stdlib.h>     // mkstempe
+#include <stdlib.h>     // mkstemp
+
 #include <fstream>
+#include <iomanip>
+
 #ifdef _REENTRANT
 #include <pthread.h>
 #endif
 #include <TGTextView.h>
-
-#include "MLogManip.h"
 
 ClassImp(MLog);
Index: /trunk/MagicSoft/Mars/mbase/MLogManip.h
===================================================================
--- /trunk/MagicSoft/Mars/mbase/MLogManip.h	(revision 2192)
+++ /trunk/MagicSoft/Mars/mbase/MLogManip.h	(revision 2193)
@@ -14,5 +14,5 @@
 inline std::ostream &operator<<(std::ostream &lout, MLogManip u)
 {
-    MLog *log=/*<dynamic_cast>*/(MLog*)lout.rdbuf();
+    MLog *log=dynamic_cast<MLog*>(lout.rdbuf());
     if (log)
         log->Underline();
@@ -25,4 +25,10 @@
 struct _Debug { int level; };
 
+const _Debug all  = { 0 }; // use this for output in any case
+const _Debug err  = { 1 }; // use this for fatal errors (red)
+const _Debug warn = { 2 }; // use this for wrnings (yellow)
+const _Debug inf  = { 3 }; // use this for informations (green)
+const _Debug dbg  = { 4 }; // use this for debug messages (blue)
+
 inline _Debug debug(int level)
 {
@@ -34,5 +40,5 @@
 inline std::ostream &operator<<(std::ostream &lout, _Debug d)
 {
-    MLog *log=/*<dynamic_cast>*/(MLog*)lout.rdbuf();
+    MLog *log=dynamic_cast<MLog*>(lout.rdbuf());
     if (log)
         log->SetOutputLevel(d.level);
@@ -53,5 +59,5 @@
 inline std::ostream &operator<<(std::ostream &lout, _EnableDev e)
 {
-    MLog *log=/*<dynamic_cast>*/(MLog*)lout.rdbuf();
+    MLog *log=dynamic_cast<MLog*>(lout.rdbuf());
     if (log)
         log->EnableOutputDevice(e.dev);
@@ -72,5 +78,5 @@
 inline std::ostream &operator<<(std::ostream &lout, _DisableDev d)
 {
-    MLog *log=/*<dynamic_cast>*/(MLog*)lout.rdbuf();
+    MLog *log=dynamic_cast<MLog*>(lout.rdbuf());
     if (log)
         log->EnableOutputDevice(d.dev);
@@ -82,9 +88,4 @@
 #ifndef __CINT__
 #define dbginf __FILE__ << " l." << dec << __LINE__ << ": "
-#define all    debug(0) // use this for output in any case
-#define err    debug(1) // use this for fatal errors (red)
-#define warn   debug(2) // use this for wrnings (yellow)
-#define inf    debug(3) // use this for informations (green)
-#define dbg    debug(4) // use this for debug messages (blue)
 #endif
 
