LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
MessageLogger.h File Reference
#include "messagefacility/Utilities/ELseverityLevel.h"
#include "messagefacility/Utilities/ErrorObj.h"
#include <memory>
#include <ostream>
#include <string>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

class  mf::NeverLogger_
 
class  mf::MaybeLogger_< SEV, VERBATIM >
 

Namespaces

 fhicl
 parameter set interface
 
 mf
 

Macros

#define MF_LOG_INFO(category)
 
#define MF_LOG_WARNING(category)
 
#define MF_LOG_ERROR(category)
 
#define MF_LOG_SYSTEM(category)
 
#define MF_LOG_VERBATIM(category)
 
#define MF_LOG_PRINT(category)
 
#define MF_LOG_PROBLEM(category)
 
#define MF_LOG_ABSOLUTE(category)
 
#define MF_LOG_DEBUG(id)
 
#define MF_LOG_TRACE(id)
 

Typedefs

using mf::LogDebug = MaybeLogger_< ELseverityLevel::ELsev_success, false >
 
using mf::LogInfo = MaybeLogger_< ELseverityLevel::ELsev_info, false >
 
using mf::LogWarning = MaybeLogger_< ELseverityLevel::ELsev_warning, false >
 
using mf::LogError = MaybeLogger_< ELseverityLevel::ELsev_error, false >
 
using mf::LogSystem = MaybeLogger_< ELseverityLevel::ELsev_severe, false >
 
using mf::LogTrace = MaybeLogger_< ELseverityLevel::ELsev_success, true >
 
using mf::LogVerbatim = MaybeLogger_< ELseverityLevel::ELsev_info, true >
 
using mf::LogPrint = MaybeLogger_< ELseverityLevel::ELsev_warning, true >
 
using mf::LogProblem = MaybeLogger_< ELseverityLevel::ELsev_error, true >
 
using mf::LogAbsolute = MaybeLogger_< ELseverityLevel::ELsev_severe, true >
 

Functions

void mf::StartMessageFacility (fhicl::ParameterSet const &pset, string const &applicationName)
 
void mf::EndMessageFacility ()
 
bool mf::isMessageProcessingSetUp ()
 
void mf::LogErrorObj (ErrorObj *msg)
 
void mf::LogStatistics ()
 
void mf::FlushMessageLog ()
 
void mf::SetApplicationName (string const &applicationName)
 
void mf::SetHostName (string const &hostname)
 
void mf::SetHostAddr (string const &hostaddr)
 
void mf::SetPid (long const pid)
 
string const & mf::GetApplicationName ()
 
string const & mf::GetHostName ()
 
string const & mf::GetHostAddr ()
 
long mf::GetPid ()
 
void mf::SetContextIteration (string const &val)
 
void mf::SetIteration (string const &val)
 
string const & mf::GetIteration ()
 
void mf::SetContextSinglet (string const &val)
 
void mf::SetModuleName (string const &val)
 
string const & mf::GetModuleName ()
 
bool mf::isDebugEnabled ()
 
bool mf::isInfoEnabled ()
 
bool mf::isWarningEnabled ()
 

Macro Definition Documentation

#define MF_LOG_ABSOLUTE (   category)
Value:
{ \
category, __FILE__, __LINE__ \
}

Definition at line 263 of file MessageLogger.h.

#define MF_LOG_DEBUG (   id)
Value:
{ \
id, __FILE__, __LINE__ \
}

Definition at line 294 of file MessageLogger.h.

Referenced by larg4::CustomPhysicsTable::AddPhysics(), caldata::CalWireAna::analyze(), trkf::SpacePointAna::analyze(), rwgt::ReweightAna::analyze(), lar::example::AnalysisExample::analyze(), evdb::ServiceTable::ApplyEdits(), geo::AuxDetGeo::AuxDetGeo(), geo::AuxDetSensitiveGeo::AuxDetSensitiveGeo(), caldata::CalWire::beginJob(), caldata::CalWireT962::beginJob(), detsim::DriftElectronstoPlane::beginJob(), detsim::SimDriftElectrons::beginJob(), larg4::ISCalcSeparate::CalcIon(), larg4::ISCalcCorrelated::CalcIonAndScint(), detsim::ISCalculationSeparate::CalculateIonization(), larg4::ISCalculationSeparate::CalculateIonizationAndScintillation(), larg4::ISCalculationCorrelated::CalculateIonizationAndScintillation(), detsim::ISCalculationSeparate::CalculateScintillation(), geo::Geometry::CheckConfigurationInfo(), util::DatabaseUtil::Connect(), larg4::LArVoxelReadoutGeometry::Construct(), larg4::FastOpticalPhysics::ConstructParticle(), larg4::OpticalPhysics::ConstructParticle(), larg4::FastOpticalPhysics::ConstructProcess(), larg4::OpticalPhysics::ConstructProcess(), geo::GeometryConfigurationWriter::convertRunDataToGeometryInformation(), corner::CornerFinderAlg::create_smaller_histos(), sppt::SpacePointAlg_TimeSort::createSpacePoints(), geo::CryostatGeo::CryostatGeo(), evgen::details::TimeInUnitsBase< Clock, Unit >::currentOffsetFromEpoch(), util::DatabaseUtil::DisConnect(), larg4::LArG4DetectorService::doBuildLVs(), evd::TWireProjPad::Draw(), evd::TWQProjectionView::Draw(), larg4::LArVoxelReadout::DriftIonizationElectrons(), larg4::LArVoxelReadout::EndOfEvent(), lartriton::TritonClient::evaluate(), rndm::details::PerEventPolicy< SEED >::EventTimestamp_v1(), geo::GeometryConfigurationWriter::extractInfoFromGeometry(), phot::PhotonLibrary::ExtractNOpChannels(), hit::CCHitFinderAlg::FastGaussianFit(), cluster::HoughBaseAlg::FastTransform(), evgen::GENIEGen::FillHistograms(), larg4::AuxDetReadoutGeometry::FindAndMakeAuxDet(), larg4::AuxDetReadoutGeometry::FindAndMakeAuxDetSensitive(), hit::HitCheater::FindHitsOnChannel(), larg4::LArVoxelReadoutGeometry::FindNestedVolume(), evd::TWQProjectionView::ForceRedraw(), larg4::MCTruthEventActionService::generatePrimaries(), g4b::ConvertMCTruthToG4::GeneratePrimaries(), corner::CornerFinderAlg::get_feature_points_fast(), rndm::NuRandomService::getGlobalSeed(), larg4::ParticleListAction::GetParentage(), evd::RawDataDrawer::GetRawDigits(), evgen::CORSIKAGen::GetSample(), cluster::HoughBaseAlg::HoughBaseAlg(), geo::ChannelMapStandardAlg::Initialize(), larg4::LArVoxelReadout::Initialize(), larg4::LArG4::LArG4(), lar::util::details::FindAllP< Source, Dest >::Merge(), evd::TWQProjectionView::OnNewEvent(), evgen::CORSIKAGen::openDBs(), rndm::NuRandomService::CLHEPengineSeeder::operator()(), evdb::EventDisplay::postProcessEvent(), rndm::NuRandomService::preModule(), rndm::NuRandomService::preProcessEvent(), DUNE::NeutrinoTrackingEff::processEff(), DUNE::MuonTrackingEff::processEff(), larg4::LArVoxelReadout::ProcessHits(), hit::TTHitFinder::produce(), sppt::TTSpacePointFinder::produce(), cluster::ClusterCheater::produce(), hit::HitCheater::produce(), cluster::EndPointModule::produce(), cluster::HoughLineFinder::produce(), evgen::NucleonDecay::produce(), trkf::Track3DKalman::produce(), evgen::GaisserParam::produce(), evgen::NeutronOsc::produce(), detsim::DriftElectronstoPlane::produce(), calo::Calorimetry::produce(), evgen::GENIEGen::produce(), trkf::Track3DKalmanSPS::produce(), detsim::SimDriftElectrons::produce(), evgen::larg4SingleGen::produce(), evgen::SingleGen::produce(), evgen::MUSUN::produce(), evgen::RadioGen::produce(), larg4::LArG4::produce(), evgen::SpectrumVolumeGen::produce_radio(), evgen::Decay0Gen::produce_radio(), evd::RawDataDrawer::QueueDrawingBoxes(), evd::RawDataDrawer::RawDigit2D(), lar::util::details::FindAllP< Source, Dest >::Read(), evgen::FileMuons::ReadEvents(), cheat::PhotonBackTracker::Rebuild(), lartriton::TritonClient::reportServerSideStats(), larg4::IonizationAndScintillation::Reset(), evd::RawDataDrawer::ResetRegionOfInterest(), evd::RawDataDrawer::RunOperation(), evgb::CRYHelper::Sample(), util::DatabaseUtil::SelectSingleFieldByQuery(), evd::TWQProjectionView::SelectTPC(), larg4::LArVoxelReadout::SetDiscoverTPC(), evd::RawDataDrawer::SetDrawingLimits(), phot::PhotonVisibilityService::SetLibraryEntry(), phot::PhotonVisibilityService::SetLibraryReflT0Entry(), phot::PhotonVisibilityService::SetLibraryTimingParEntry(), phot::PhotonVisibilityService::SetLibraryTimingTF1Entry(), g4b::G4Helper::SetParallelWorlds(), larg4::LArVoxelReadout::SetSingleTPC(), larg4::LArG4DetectorService::setStepLimits(), evd::TWireProjPad::SetZoomFromView(), evd::TWireProjPad::SetZoomRange(), larg4::ParticleListAction::SteppingAction(), geo::TPCGeo::TPCGeo(), cluster::HoughBaseAlg::Transform(), rndm::NuRandomServiceHelper::ArtState::transit_to(), and evd::details::RawDigitCacheDataClass::Update().

#define MF_LOG_PRINT (   category)
Value:
{ \
category, __FILE__, __LINE__ \
}

Definition at line 253 of file MessageLogger.h.

#define MF_LOG_PROBLEM (   category)
Value:
{ \
category, __FILE__, __LINE__ \
}

Definition at line 258 of file MessageLogger.h.

#define MF_LOG_SYSTEM (   category)
Value:
{ \
category, __FILE__, __LINE__ \
}

Definition at line 240 of file MessageLogger.h.

Referenced by filter::ChannelFilter::ChannelFilter().