Skip to content

Commit 7a967ec

Browse files
committed
EMCAL: drop need for own InfoLogger
1 parent 577686d commit 7a967ec

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Detectors/EMCAL/reconstruction/src/AltroDecoder.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
#include <iomanip>
1414
#include <iostream>
1515
#include <fmt/format.h>
16-
#include "InfoLogger/InfoLogger.hxx"
1716
#include "DetectorsRaw/RDHUtils.h"
1817
#include "EMCALReconstruction/AltroDecoder.h"
1918
#include "EMCALReconstruction/RawReaderMemory.h"
19+
#include "Framework/Logger.h"
2020

2121
using namespace o2::emcal;
2222

@@ -42,8 +42,7 @@ void AltroDecoder::readRCUTrailer()
4242
gsl::span<const uint32_t> payloadwords(payloadwordsOrig.data(), payloadwordsOrig.size());
4343
mRCUTrailer.constructFromRawPayload(payloadwords);
4444
} catch (RCUTrailer::Error& e) {
45-
AliceO2::InfoLogger::InfoLogger logger;
46-
logger << e.what();
45+
LOG(error) << "Error while decoding RCU trailer: " << e.what();
4746
throw AltroDecoderError(AltroDecoderError::ErrorType_t::RCU_TRAILER_ERROR, fmt::format("{} {}", AltroDecoderError::getErrorTypeDescription(AltroDecoderError::ErrorType_t::RCU_TRAILER_ERROR), e.what()));
4847
}
4948
}

0 commit comments

Comments
 (0)