|
using | Parameters = fhicl::WrappedTable< Config > |
|
enum | flag_enum {
NO_LINE_BREAKS,
TIMESTAMP,
MILLISECOND,
MODULE,
SUBROUTINE,
TEXT,
SOME_CONTEXT,
SERIAL,
FULL_CONTEXT,
TIME_SEPARATE,
EPILOGUE_SEPARATE,
NFLAGS
} |
|
Definition at line 28 of file syslog_mfPlugin.cc.
mfplugins::ELsyslog::ELsyslog |
( |
Parameters const & |
pset | ) |
|
Definition at line 48 of file syslog_mfPlugin.cc.
51 openlog(
"MF", 0, LOG_LOCAL0);
ELdestination(Config const &)
void mfplugins::ELsyslog::fillPrefix |
( |
ostringstream & |
oss, |
|
|
ErrorObj const & |
msg |
|
) |
| |
|
overrideprivatevirtual |
Reimplemented from mf::service::ELdestination.
Definition at line 55 of file syslog_mfPlugin.cc.
57 auto const& xid =
msg.xid();
59 << xid.hostaddr() <<
'|' << xid.severity().getName() <<
'|' << xid.id()
60 <<
'|' << xid.application() <<
'|' << xid.pid() <<
'|' void msg(const char *fmt,...)
string const & GetIteration()
MsgFormatSettings format_
void mfplugins::ELsyslog::fillSuffix |
( |
ostringstream & |
, |
|
|
ErrorObj const & |
|
|
) |
| |
|
overrideprivatevirtual |
void mfplugins::ELsyslog::fillUsrMsg |
( |
ostringstream & |
oss, |
|
|
ErrorObj const & |
msg |
|
) |
| |
|
overrideprivatevirtual |
Reimplemented from mf::service::ELdestination.
Definition at line 65 of file syslog_mfPlugin.cc.
69 string const& usrMsg =
70 !buf.str().compare(0, 1,
"\n") ? buf.str().erase(0, 1) : buf.str();
virtual void fillUsrMsg(std::ostringstream &, mf::ErrorObj const &msg)
void msg(const char *fmt,...)
void mfplugins::ELsyslog::routePayload |
( |
ostringstream const & |
oss, |
|
|
ErrorObj const & |
msg |
|
) |
| |
|
overrideprivatevirtual |
Definition at line 86 of file syslog_mfPlugin.cc.
92 switch (severity.getLevel()) {
105 <<
"ELseverityLevel: " << severity
106 <<
" not currently supported for syslog destination\n";
#define LOG_DEBUG(stream)
cet::coded_exception< errors::error, detail::translate > Exception
The documentation for this class was generated from the following file: