32 Issue17457TestDestination(Parameters
const&);
38 Issue17457TestDestination::Issue17457TestDestination(Parameters
const&
ps)
39 :
mf::
service::ELostreamOutput{
ps().elOstreamConfig(),
43 if (
ps().application(tmp)) {
46 if (
ps().hostName(tmp)) {
49 if (
ps().hostAddr(tmp)) {
59 Issue17457TestDestination::fillPrefix(ostringstream& oss,
62 ELostreamOutput::fillPrefix(oss, msg);
63 auto const& xid = msg.
xid();
65 <<
", hostname = " << xid.hostname()
66 <<
", hostaddr = " << xid.hostaddr() <<
", pid = " << xid.pid()
74 return make_unique<Issue17457TestDestination>(pset);
void SetHostAddr(string const &hostaddr)
void msg(const char *fmt,...)
std::string const & application() const
MAKE_MFPLUGIN_START(, pset)
typename config_impl< T >::type Config
ELextendedID const & xid() const
static constexpr double ps
void SetHostName(string const &hostname)
#define FHICL_PROVIDE_ALLOWED_CONFIGURATION(klass)
void SetApplicationName(string const &applicationName)
void SetPid(long const pid)