]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliLog.cxx
Problem with boundary crossing on common boundaries between mother and daughter volum...
[u/mrichter/AliRoot.git] / STEER / AliLog.cxx
index 13ea390fbbd66e8626998c377cae37862114553e..fad662ba8e4314ab5a1be04c7eed9a6f7404c62a 100644 (file)
@@ -684,7 +684,7 @@ void AliLog::SetPrintRepetitions(Bool_t on)
 
 
 //_____________________________________________________________________________
-void AliLog::Write(const char* name, Int_t option)
+void AliLog::WriteToFile(const char* name, Int_t option)
 {
 // write the log object with the given name and option to the current file
 
@@ -762,9 +762,8 @@ void AliLog::PrintMessage(UInt_t type, const char* message,
     {"Fatal", "Error", "Warning", "Info", "Debug"};
 
   if (fPrintType[type]) {
-    fprintf(stream, "%s in ", typeNames[type]);
+    fprintf(stream, "%c-", typeNames[type][0]);
   }
-  fprintf(stream, "<");
   if (fPrintModule[type] && module) {
     fprintf(stream, "%s/", module);
   }
@@ -772,9 +771,9 @@ void AliLog::PrintMessage(UInt_t type, const char* message,
     fprintf(stream, "%s::", className);
   }
   if (message) {
-    fprintf(stream, "%s>: %s", function, message);
+    fprintf(stream, "%s: %s", function, message);
   } else {
-    fprintf(stream, "%s>", function);
+    fprintf(stream, "%s", function);
   }
   if (fPrintLocation[type] && file) {
     fprintf(stream, " (%s:%.0d)", file, line);