|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <FormattedStandardStream.hpp>
Classes | |
| struct | Fields |
Public Member Functions | |
| FormattedStandardStream ()=default | |
| FormattedStandardStream (const std::string &format) | |
| void | write (const Issue &issue) override |
| Public Member Functions inherited from ers::OutputStream | |
| virtual | ~OutputStream () |
| Sends the issue into this stream. | |
Private Member Functions | |
| void | report (std::ostream &out, const Issue &issue) |
Static Private Member Functions | |
| static std::string | get_file_name (const std::string ¶m) |
| static std::string | get_format (const std::string ¶m) |
Private Attributes | |
| std::vector< format::Token > | m_tokens |
Static Private Attributes | |
| static Fields | s_supported_fields |
Additional Inherited Members | |
| Protected Member Functions inherited from ers::OutputStream | |
| OutputStream () | |
| OutputStream & | chained () |
| virtual bool | isNull () const |
Definition at line 36 of file FormattedStandardStream.hpp.
|
default |
|
explicit |
This constructor creates a new formatted output stream. The format parameter is a comma separated list of tokens that defines the which attributes of the issues will be printed as well as their order. Here is the list of supported tokens: "severity, time, position, context, pid, tid, cwd, function, line, cause, stack, parameters, qualifiers, user"
| format | a list of issue attributes that have to be printed for each issue |
Definition at line 65 of file FormattedStandardStream.hxx.
|
staticprivate |
Definition at line 42 of file FormattedStandardStream.hxx.
|
staticprivate |
Definition at line 54 of file FormattedStandardStream.hxx.
|
private |
Definition at line 85 of file FormattedStandardStream.hxx.
|
overridevirtual |
Implements ers::OutputStream.
Definition at line 177 of file FormattedStandardStream.hxx.
|
private |
Definition at line 64 of file FormattedStandardStream.hpp.
|
staticprivate |
Definition at line 63 of file FormattedStandardStream.hpp.