LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ELextendedID.h"
Public Member Functions | |
~ELextendedID () | |
ELextendedID () | |
ELextendedID (std::string const &id, ELseverityLevel severity, std::string const &module, std::string const &subroutine, std::string const &hostname, std::string const &hostaddr, std::string const &application) | |
std::string const & | id () const |
ELseverityLevel | severity () const |
std::string const & | module () const |
std::string const & | subroutine () const |
std::string const & | hostname () const |
std::string const & | hostaddr () const |
std::string const & | application () const |
long | pid () const |
void | setID (std::string const &id) |
void | setSeverity (ELseverityLevel severity) |
void | setModule (std::string const &module) |
void | setSubroutine (std::string const &subroutine) |
void | setHostname (std::string const &hostname) |
void | setHostaddr (std::string const &hostaddr) |
void | setApplication (std::string const &application) |
void | setPID (long pid) |
bool | operator< (ELextendedID const &xid) const |
void | clear () |
Private Attributes | |
std::string | id_ {} |
ELseverityLevel | severity_ {} |
std::string | module_ {} |
std::string | subroutine_ {} |
std::string | hostname_ {} |
std::string | hostaddr_ {} |
std::string | application_ {} |
long | pid_ {0} |
Definition at line 11 of file ELextendedID.h.
mf::ELextendedID::~ELextendedID | ( | ) |
Definition at line 6 of file ELextendedID.cc.
mf::ELextendedID::ELextendedID | ( | ) |
mf::ELextendedID::ELextendedID | ( | std::string const & | id, |
ELseverityLevel | severity, | ||
std::string const & | module, | ||
std::string const & | subroutine, | ||
std::string const & | hostname, | ||
std::string const & | hostaddr, | ||
std::string const & | application | ||
) |
Definition at line 10 of file ELextendedID.cc.
std::string const & mf::ELextendedID::application | ( | ) | const |
Definition at line 63 of file ELextendedID.cc.
References application_.
Referenced by setApplication().
void mf::ELextendedID::clear | ( | ) |
std::string const & mf::ELextendedID::hostaddr | ( | ) | const |
std::string const & mf::ELextendedID::hostname | ( | ) | const |
std::string const & mf::ELextendedID::id | ( | ) | const |
Definition at line 27 of file ELextendedID.cc.
References id_.
Referenced by mf::LogErrorObj(), setID(), and mf::service::ELdestination::skipMsg().
std::string const & mf::ELextendedID::module | ( | ) | const |
bool mf::ELextendedID::operator< | ( | ELextendedID const & | xid | ) | const |
Definition at line 123 of file ELextendedID.cc.
References id_, module_, severity_, and subroutine_.
long mf::ELextendedID::pid | ( | ) | const |
void mf::ELextendedID::setApplication | ( | std::string const & | application | ) |
Definition at line 111 of file ELextendedID.cc.
References application(), and application_.
Referenced by mf::ErrorObj::setApplication().
void mf::ELextendedID::setHostaddr | ( | std::string const & | hostaddr | ) |
Definition at line 105 of file ELextendedID.cc.
References hostaddr(), and hostaddr_.
Referenced by mf::ErrorObj::setHostAddr().
void mf::ELextendedID::setHostname | ( | std::string const & | hostname | ) |
Definition at line 99 of file ELextendedID.cc.
References hostname(), and hostname_.
Referenced by mf::ErrorObj::setHostName().
void mf::ELextendedID::setID | ( | std::string const & | id | ) |
void mf::ELextendedID::setModule | ( | std::string const & | module | ) |
Definition at line 87 of file ELextendedID.cc.
References module(), and module_.
Referenced by mf::ErrorObj::setModule().
void mf::ELextendedID::setPID | ( | long | pid | ) |
void mf::ELextendedID::setSeverity | ( | ELseverityLevel | severity | ) |
Definition at line 81 of file ELextendedID.cc.
References severity(), and severity_.
Referenced by mf::ErrorObj::setSeverity().
void mf::ELextendedID::setSubroutine | ( | std::string const & | subroutine | ) |
Definition at line 93 of file ELextendedID.cc.
References subroutine(), and subroutine_.
Referenced by mf::ErrorObj::setSubroutine().
ELseverityLevel mf::ELextendedID::severity | ( | ) | const |
Definition at line 33 of file ELextendedID.cc.
References severity_.
Referenced by mf::service::ELstatistics::log(), mf::service::ELdestination::log(), mf::LogErrorObj(), mfplugins::ELsyslog::routePayload(), and setSeverity().
std::string const & mf::ELextendedID::subroutine | ( | ) | const |
Definition at line 45 of file ELextendedID.cc.
References subroutine_.
Referenced by setSubroutine().
|
private |
Definition at line 52 of file ELextendedID.h.
Referenced by application(), and setApplication().
|
private |
Definition at line 51 of file ELextendedID.h.
Referenced by hostaddr(), and setHostaddr().
|
private |
Definition at line 50 of file ELextendedID.h.
Referenced by hostname(), and setHostname().
|
private |
Definition at line 46 of file ELextendedID.h.
Referenced by id(), operator<(), and setID().
|
private |
Definition at line 48 of file ELextendedID.h.
Referenced by module(), operator<(), and setModule().
|
private |
Definition at line 53 of file ELextendedID.h.
|
private |
Definition at line 47 of file ELextendedID.h.
Referenced by operator<(), setSeverity(), and severity().
|
private |
Definition at line 49 of file ELextendedID.h.
Referenced by operator<(), setSubroutine(), and subroutine().