]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliMemoryWatcher.cxx
use AliLog message scheme
[u/mrichter/AliRoot.git] / STEER / AliMemoryWatcher.cxx
index 96389b696ca7b1490fa5af503d22cda8142441b0..c19464746a736c1b4ef0d80d274e1a93638da2f0 100644 (file)
@@ -50,6 +50,7 @@ class assert ;
 #include <malloc.h>
 #endif
 // --- AliRoot header files ---
+#include "AliLog.h"
 #include "AliMemoryWatcher.h"
 // --- ROOT system ---
 #include "TSystem.h"
@@ -124,7 +125,7 @@ void AliMemoryWatcher::Watch(Int_t x)
       fTIME[fSize] = fTimer->CpuTime();
       fSize++;
 #else
-      ::Fatal("Watch","Please SetUseMallinfo to kFALSE on this system");
+      AliFatal("Please SetUseMallinfo to kFALSE on this system");
 #endif
     } else {
       static Int_t vsize, rssize;
@@ -146,7 +147,7 @@ void AliMemoryWatcher::Watch(Int_t x)
   }
   else {
     fDisabled=true;
-    Error("watch", "I'm full !" ) ;
+    AliError("I'm full !" ) ;
   }
 }
 //_____________________________________________________________________________