ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHLog.h File Reference
#include <log4cpp/Appender.hh>
#include <log4cpp/Category.hh>
#include <log4cpp/FileAppender.hh>
#include <log4cpp/OstreamAppender.hh>
#include <log4cpp/PatternLayout.hh>
#include <log4cpp/Priority.hh>
#include <log4cpp/PropertyConfigurator.hh>
#include <pwd.h>
#include <sys/types.h>
#include <unistd.h>
+ Include dependency graph for PHLog.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PHLog
 

Macros

#define LOG_DEBUG_IF(category, cond)
 
#define LOG_INFO_IF(category, cond)
 
#define LOG_NOTICE_IF(category, cond)
 
#define LOG_WARN_IF(category, cond)
 
#define LOG_ERROR_IF(category, cond)
 
#define LOG_CRIT_IF(category, cond)
 
#define LOG_ALERT_IF(category, cond)
 
#define LOG_FATAL_IF(category, cond)
 
#define LOG_DEBUG(category)
 
#define LOG_INFO(category)
 
#define LOG_NOTICE(category)
 
#define LOG_WARN(category)
 
#define LOG_ERROR(category)
 
#define LOG_CRIT(category)
 
#define LOG_ALERT(category)
 
#define LOG_FATAL(category)
 

Macro Definition Documentation

#define LOG_ALERT (   category)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::ALERT)) \
PHLog::get(category) << log4cpp::Priority::ALERT

Definition at line 137 of file PHLog.h.

View newest version in sPHENIX GitHub at line 137 of file PHLog.h

#define LOG_ALERT_IF (   category,
  cond 
)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::ALERT) && (cond)) \
PHLog::get(category) << log4cpp::Priority::ALERT

Definition at line 103 of file PHLog.h.

View newest version in sPHENIX GitHub at line 103 of file PHLog.h

#define LOG_CRIT (   category)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::CRIT)) \
PHLog::get(category) << log4cpp::Priority::CRIT

Definition at line 133 of file PHLog.h.

View newest version in sPHENIX GitHub at line 133 of file PHLog.h

#define LOG_CRIT_IF (   category,
  cond 
)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::CRIT) && (cond)) \
PHLog::get(category) << log4cpp::Priority::CRIT

Definition at line 99 of file PHLog.h.

View newest version in sPHENIX GitHub at line 99 of file PHLog.h

#define LOG_DEBUG_IF (   category,
  cond 
)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::DEBUG) && (cond)) \

Definition at line 79 of file PHLog.h.

View newest version in sPHENIX GitHub at line 79 of file PHLog.h

Referenced by PHTpcTrackFollower::followTrack().

#define LOG_ERROR (   category)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::ERROR)) \

Definition at line 129 of file PHLog.h.

View newest version in sPHENIX GitHub at line 129 of file PHLog.h

Referenced by PHTpcLookup::find(), PHTpcTrackFollower::followTrack(), and PHTpcTrackFollower::get_track_layer().

#define LOG_ERROR_IF (   category,
  cond 
)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::ERROR) && (cond)) \

Definition at line 95 of file PHLog.h.

View newest version in sPHENIX GitHub at line 95 of file PHLog.h

Referenced by PHTpcTracker::Process().

#define LOG_FATAL (   category)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::FATAL)) \

Definition at line 141 of file PHLog.h.

View newest version in sPHENIX GitHub at line 141 of file PHLog.h

#define LOG_FATAL_IF (   category,
  cond 
)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::FATAL) && (cond)) \

Definition at line 107 of file PHLog.h.

View newest version in sPHENIX GitHub at line 107 of file PHLog.h

#define LOG_INFO (   category)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::INFO)) \

Definition at line 117 of file PHLog.h.

View newest version in sPHENIX GitHub at line 117 of file PHLog.h

Referenced by PHTpcTracker::Process().

#define LOG_INFO_IF (   category,
  cond 
)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::INFO) && (cond)) \

Definition at line 83 of file PHLog.h.

View newest version in sPHENIX GitHub at line 83 of file PHLog.h

#define LOG_NOTICE (   category)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::NOTICE)) \
PHLog::get(category) << log4cpp::Priority::NOTICE

Definition at line 121 of file PHLog.h.

View newest version in sPHENIX GitHub at line 121 of file PHLog.h

#define LOG_NOTICE_IF (   category,
  cond 
)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::NOTICE) && (cond)) \
PHLog::get(category) << log4cpp::Priority::NOTICE

Definition at line 87 of file PHLog.h.

View newest version in sPHENIX GitHub at line 87 of file PHLog.h

#define LOG_WARN (   category)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::WARN)) \
PHLog::get(category) << log4cpp::Priority::WARN

Definition at line 125 of file PHLog.h.

View newest version in sPHENIX GitHub at line 125 of file PHLog.h

Referenced by PHTpcTrackerUtil::convert_clusters_to_hits(), PHTpcEventExporter::exportEvent(), and PHTpcTracker::getMagField().

#define LOG_WARN_IF (   category,
  cond 
)
Value:
if (PHLog::get(category).isPriorityEnabled(log4cpp::Priority::WARN) && (cond)) \
PHLog::get(category) << log4cpp::Priority::WARN

Definition at line 91 of file PHLog.h.

View newest version in sPHENIX GitHub at line 91 of file PHLog.h

Referenced by PHTpcSeedFinder::findSeeds().