]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STRUCT/AliSHILv0.cxx
Removing GetDebug and SetDebug from AliRun and AliModule. Using AliLog for the messages
[u/mrichter/AliRoot.git] / STRUCT / AliSHILv0.cxx
index 1b9a9f3aed1255bdbcb78892fd5e8c7808a205bf..011eafbd31f8e38d08b6b8a227de6b00e39ddae5 100644 (file)
@@ -34,6 +34,7 @@
 #include "AliConst.h"
 #include "AliRun.h"
 #include "AliSHILv0.h"
+#include "AliLog.h"
 
 ClassImp(AliSHILv0)
  
@@ -1197,7 +1198,7 @@ void AliSHILv0::Init()
   Int_t i;
   //
   
-  if(fDebug) {
+  if(AliLog::GetGlobalDebugLevel()>0) {
       printf("\n%s: ",ClassName());
       for(i=0;i<35;i++) printf("*");
       printf(" SHILv0_INIT ");