DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
tmp.hpp File Reference

Go to the source code of this file.

Classes

class  dunedaq::logging::Logging::InternalMessage

Namespaces

namespace  dunedaq
 The DUNE-DAQ namespace.
namespace  dunedaq::logging

Functions

static TraceStreamer & operator<< (TraceStreamer &x, const dunedaq::logging::Logging::InternalMessage &r)

Function Documentation

◆ operator<<()

TraceStreamer & operator<< ( TraceStreamer & x,
const dunedaq::logging::Logging::InternalMessage & r )
inlinestatic

Definition at line 42 of file tmp.hpp.

44{
45 if (x.do_m) {
46 x.line_ = r.context().line_number();
47 x.msg_append(r.message().c_str());
48 }
49 if (x.do_s) {
50 if (x.lvl_ == TLVL_INFO)
51 ers::info(r);
52 else if (x.lvl_ == TLVL_LOG)
53 ers::log(r);
54 else
55 ers::debug(r, x.lvl_ - TLVL_DEBUG);
56 x.do_s = 0;
57 }
58 return x;
59}
void info(const Issue &issue)
Definition ers.hpp:121
void log(const Issue &issue)
Definition ers.hpp:131
void debug(const Issue &issue, int level=debug_level())
Definition ers.hpp:91