LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 LOG_INFO(category)   mf::LogInfo(category, __FILE__, __LINE__)
 
#define LOG_WARNING(category)   mf::LogWarning(category, __FILE__, __LINE__)
 
#define LOG_ERROR(category)   mf::LogError(category, __FILE__, __LINE__)
 
#define LOG_SYSTEM(category)   mf::LogSystem(category, __FILE__, __LINE__)
 
#define LOG_VERBATIM(category)   mf::LogVerbatim(category, __FILE__, __LINE__)
 
#define LOG_PRINT(category)   mf::LogPrint(category, __FILE__, __LINE__)
 
#define LOG_PROBLEM(category)   mf::LogProblem(category, __FILE__, __LINE__)
 
#define LOG_ABSOLUTE(category)   mf::LogAbsolute(category, __FILE__, __LINE__)
 
#define LOG_DEBUG(id)    mf::LogDebug { id, __FILE__, __LINE__ }
 
#define LOG_TRACE(id)    mf::LogTrace { id, __FILE__, __LINE__ }
 

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 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 LOG_ABSOLUTE (   category)    mf::LogAbsolute(category, __FILE__, __LINE__)

Definition at line 238 of file MessageLogger.h.

#define LOG_DEBUG (   id)    mf::LogDebug { id, __FILE__, __LINE__ }

Definition at line 263 of file MessageLogger.h.

Referenced by larg4::CustomPhysicsTable::AddPhysics(), rwgt::ReweightAna::analyze(), caldata::CalWireAna::analyze(), trkf::SpacePointAna::analyze(), lar::example::AnalysisExample::analyze(), evdb::ServiceTable::ApplyEdits(), geo::AuxDetGeo::AuxDetGeo(), geo::AuxDetSensitiveGeo::AuxDetSensitiveGeo(), caldata::CalWire::beginJob(), caldata::CalWireT962::beginJob(), detsim::SimDriftElectrons::beginJob(), larg4::ISCalcSeparate::CalculateIonization(), larg4::ISCalculationSeparate::CalculateIonizationAndScintillation(), larg4::ISCalcSeparate::CalculateScintillation(), util::DatabaseUtil::Connect(), larg4::LArVoxelReadoutGeometry::Construct(), larg4::OpticalPhysics::ConstructParticle(), larg4::FastOpticalPhysics::ConstructParticle(), larg4::OpticalPhysics::ConstructProcess(), larg4::FastOpticalPhysics::ConstructProcess(), corner::CornerFinderAlg::create_smaller_histos(), sppt::SpacePointAlg_TimeSort::createSpacePoints(), geo::CryostatGeo::CryostatGeo(), evgen::details::TimeInUnitsBase< Clock, Unit >::currentOffsetFromEpoch(), util::DatabaseUtil::DisConnect(), evd::TWireProjPad::Draw(), evd::TWQProjectionView::Draw(), larg4::LArVoxelReadout::DriftIonizationElectrons(), rndm::details::PerEventPolicy< SEED >::EventTimestamp_v1(), 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(), g4b::ConvertMCTruthToG4::GeneratePrimaries(), corner::CornerFinderAlg::get_feature_points_fast(), rndm::NuRandomService::getGlobalSeed(), larg4::ParticleListAction::GetParentage(), evd::RawDataDrawer::GetRawDigits(), evgen::CORSIKAGen::GetSample(), 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()(), evd::LandedSocket::postProcessEvent(), evdb::EventDisplay::postProcessEvent(), rndm::NuRandomService::preModule(), rndm::NuRandomService::preProcessEvent(), DUNE::NeutrinoTrackingEff::processEff(), DUNE::MuonTrackingEff::processEff(), larg4::LArVoxelReadout::ProcessHits(), hit::TTHitFinder::produce(), sppt::TTSpacePointFinder::produce(), hit::HitCheater::produce(), cluster::ClusterCheater::produce(), evgen::NucleonDecay::produce(), cluster::EndPointModule::produce(), cluster::HoughLineFinder::produce(), evgen::GaisserParam::produce(), calo::Calorimetry::produce(), evgen::NeutronOsc::produce(), trkf::Track3DKalman::produce(), evgen::GENIEGen::produce(), evgen::RadioGen::produce(), trkf::Track3DKalmanSPS::produce(), detsim::SimDriftElectrons::produce(), evgen::MUSUN::produce(), evgen::SingleGen::produce(), larg4::LArG4::produce(), evd::RawDataDrawer::QueueDrawingBoxes(), evd::RawDataDrawer::RawDigit2D(), lar::util::details::FindAllP< Source, Dest >::Read(), evgen::FileMuons::ReadEvents(), cheat::PhotonBackTracker::Rebuild(), larg4::IonizationAndScintillation::Reset(), evd::RawDataDrawer::ResetRegionOfInterest(), cluster::fuzzyClusterAlg::run_fuzzy_cluster(), evd::RawDataDrawer::RunOperation(), evgb::CRYHelper::Sample(), util::DatabaseUtil::SelectSingleFieldByQuery(), evd::TWQProjectionView::SelectTPC(), evd::LandedSocket::sendGeometry(), larg4::LArVoxelReadout::SetDiscoverTPC(), evd::RawDataDrawer::SetDrawingLimits(), phot::PhotonVisibilityService::SetLibraryEntry(), phot::PhotonVisibilityService::SetLibraryReflT0Entry(), phot::PhotonVisibilityService::SetLibraryTimingParEntry(), phot::PhotonVisibilityService::SetLibraryTimingTF1Entry(), g4b::G4Helper::SetParallelWorlds(), larg4::LArVoxelReadout::SetSingleTPC(), evd::TWireProjPad::SetZoomFromView(), evd::TWireProjPad::SetZoomRange(), larg4::ParticleListAction::SteppingAction(), evgb::GENIEHelper::Stop(), mfplugins::ELsyslog::syslogLevel(), geo::TPCGeo::TPCGeo(), cluster::HoughBaseAlg::Transform(), rndm::NuRandomServiceHelper::ArtState::transit_to(), evd::details::RawDigitCacheDataClass::Update(), and evd::TWireProjPad::UpdateSeedCurve().

#define LOG_INFO (   category)    mf::LogInfo(category, __FILE__, __LINE__)

Definition at line 228 of file MessageLogger.h.

Referenced by rwgt::GENIEReweight::AddReweightValue(), opreco::OpticalRecoAna::analyze(), rwgt::GENIEReweight::ConfgureResDecay(), rwgt::GENIEReweight::Configure(), rwgt::GENIEReweight::ConfigureAGKY(), rwgt::GENIEReweight::ConfigureCCRes(), rwgt::GENIEReweight::ConfigureCoh(), rwgt::GENIEReweight::ConfigureDIS(), rwgt::GENIEReweight::ConfigureDISNucMod(), rwgt::GENIEReweight::ConfigureFGM(), rwgt::GENIEReweight::ConfigureFZone(), rwgt::GENIEReweight::ConfigureINuke(), rwgt::GENIEReweight::ConfigureNC(), rwgt::GENIEReweight::ConfigureNCRes(), rwgt::GENIEReweight::ConfigureParameters(), rwgt::GENIEReweight::ConfigureQEMA(), rwgt::GENIEReweight::ConfigureQEVec(), rwgt::GENIEReweight::ConfigureResBkg(), g4b::DetectorConstruction::Construct(), evgen::MARLEYHelper::create_MCTruth(), rwgt::GENIEReweight::GENIEReweight(), evgen::MARLEYHelper::load_marley_dictionaries(), evgen::MARLEYHelper::MARLEYHelper(), evgen::MarleyTimeGen::reconfigure(), evgen::MARLEYHelper::reconfigure(), rwgt::GENIEReweight::ReweightAGKY(), rwgt::GENIEReweight::ReweightCCRes(), rwgt::GENIEReweight::ReweightCoh(), rwgt::GENIEReweight::ReweightDIS(), rwgt::GENIEReweight::ReweightDISnucl(), rwgt::GENIEReweight::ReweightFGM(), rwgt::GENIEReweight::ReweightFormZone(), rwgt::GENIEReweight::ReweightIntraNuke(), rwgt::GENIEReweight::ReweightNC(), rwgt::GENIEReweight::ReweightNCEL(), rwgt::GENIEReweight::ReweightNCRes(), rwgt::GENIEReweight::ReweightNonResRvp2pi(), rwgt::GENIEReweight::ReweightQEMA(), rwgt::GENIEReweight::ReweightQEVec(), rwgt::GENIEReweight::ReweightQEZExp(), rwgt::GENIEReweight::ReweightResDecay(), rwgt::GENIEReweight::ReweightResGanged(), evgen::ActiveVolumeVertexSampler::sample_vertex_pos(), and mfplugins::ELsyslog::syslogLevel().

#define LOG_PRINT (   category)    mf::LogPrint(category, __FILE__, __LINE__)

Definition at line 236 of file MessageLogger.h.

#define LOG_PROBLEM (   category)    mf::LogProblem(category, __FILE__, __LINE__)

Definition at line 237 of file MessageLogger.h.

#define LOG_SYSTEM (   category)    mf::LogSystem(category, __FILE__, __LINE__)

Definition at line 231 of file MessageLogger.h.

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