DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <tmp.hpp>
Public Member Functions | |
Logging::InternalMessage (const ers::Context &context) | |
Logging::InternalMessage (const ers::Context &context, const std::string &msg) | |
Logging::InternalMessage (const ers::Context &context, const std::string &msg, const std::exception &cause) | |
Logging::InternalMessage (const ers::Context &context, const std::exception &cause) | |
void | raise () const |
throws a copy of this issue preserving the real issue type | |
const char * | get_class_name () const |
Get key for class (used for serialisation) | |
ers::Issue * | clone () const |
![]() | |
Issue (const Context &context, const std::string &message=std::string()) | |
Issue (const Context &context, const std::exception &cause) | |
Issue (const Context &context, const std::string &message, const std::exception &cause) | |
Issue (const Issue &other) | |
virtual | ~Issue () noexcept |
virtual inheritance_type | get_class_inheritance () const =0 |
Get inheritance chain. | |
void | add_qualifier (const std::string &qualif) |
adds a qualifier to the issue | |
const Issue * | cause () const |
return the cause Issue of this Issue | |
const Context & | context () const |
Context of the issue. | |
const std::string & | message () const |
General cause of the issue. | |
const std::vector< std::string > & | qualifiers () const |
return array of qualifiers | |
const string_map & | parameters () const |
return array of parameters | |
ers::Severity | severity () const |
severity of the issue | |
template<class Precision = std::chrono::seconds> | |
std::string | time (const std::string &format="%Y-%b-%d %H:%M:%S", bool isUTC=false) const |
string representation of local time of the issue | |
template<class Precision > | |
std::string | localtime (const std::string &format="%Y-%b-%d %H:%M:%S") const |
string representation of UTC time of the issue | |
template<class Precision > | |
std::string | gmtime (const std::string &format="%Y-%b-%d %H:%M:%S") const |
std::time_t | time_t () const |
seconds since 1 Jan 1970 | |
const system_clock::time_point & | ptime () const |
original time point of the issue | |
const char * | what () const noexcept |
General cause of the issue. | |
ers::Severity | set_severity (ers::Severity severity) const |
void | wrap_message (const std::string &begin, const std::string &end) |
Static Public Member Functions | |
static const char * | get_uid () |
Friends | |
template<class > | |
class | ers::IssueRegistrator |
Additional Inherited Members | |
![]() | |
Issue (Severity severity, const system_clock::time_point &time, const ers::Context &context, const std::string &message, const std::vector< std::string > &qualifiers, const std::map< std::string, std::string > ¶meters, const ers::Issue *cause=0) | |
Gets a value of any type that has an input operator for the standard stream defined. | |
template<typename T > | |
void | get_value (const std::string &key, T &value) const |
void | get_value (const std::string &key, const char *&value) const |
void | get_value (const std::string &key, std::string &value) const |
Sets a value of any type that has an output operator for the standard stream defined. | |
template<typename T > | |
void | set_value (const std::string &key, T value) |
void | set_message (const std::string &message) |
void | prepend_message (const std::string &message) |
![]() | |
static auto | _get_inheritance () |
|
inlinevirtual |
Implements ers::Issue.
Definition at line 1 of file tmp.hpp.
|
inlinevirtual |
Get key for class (used for serialisation)
Implements ers::Issue.
Definition at line 1 of file tmp.hpp.
|
inlinestatic |
Definition at line 1 of file tmp.hpp.
dunedaq::logging::Logging::InternalMessage::Logging::InternalMessage | ( | const ers::Context & | context | ) |
dunedaq::logging::Logging::InternalMessage::Logging::InternalMessage | ( | const ers::Context & | context, |
const std::exception & | cause ) |
dunedaq::logging::Logging::InternalMessage::Logging::InternalMessage | ( | const ers::Context & | context, |
const std::string & | msg ) |
dunedaq::logging::Logging::InternalMessage::Logging::InternalMessage | ( | const ers::Context & | context, |
const std::string & | msg, | ||
const std::exception & | cause ) |
|
inlinevirtual |
throws a copy of this issue preserving the real issue type
Implements ers::Issue.
Definition at line 1 of file tmp.hpp.
|
friend |