AliLog::Message(AliLog::kInfo, message, "HLT", originClass, originFunc, file, line);
break;
default:
- break;
+ AliLog::Message(AliLog::kInfo, message, "HLT", originClass?originClass:"AliHLT", originFunc, file, line);
}
return 0;
}
// older versions of AliLog does not support the notification callback and
// stringstreams, but they support the logging macros in general
#ifndef NO_ALILOG_NOTIFICATION
+#ifndef NO_ALILOG_GETROOTLOGGER
AliLog* log = AliLog::GetRootLogger();
+#else
+ AliLog* log = new AliLog;
+#endif //NO_ALILOG_GETROOTLOGGER
log->SetLogNotification(LogNotification);
log->SetStreamOutput(&AliHLTLogging::fgLogstr);
log->SetPrintScope(true);