|
int | job_id |
|
int | p_id |
|
std::string | algorithm |
|
mspass::utility::ErrorSeverity | badness |
|
std::string | message |
|
|
std::ostream & | operator<< (std::ostream &, LogData &) |
|
◆ LogData() [1/2]
Normal constuctor from a MsPASSError or child of same.
- Parameters
-
jid | is the value to assign to job_id. |
alg | is assigned to algorithm attribute. |
merr | is parsed to fill the message and severity fields. Note p_id is always fetched with the system call getpid in the constructor. |
ErrorSeverity severity() const
Definition: MsPASSError.h:109
const char * what() const noexcept
Definition: MsPASSError.h:107
References mspass::utility::MsPASSError::severity(), and mspass::utility::MsPASSError::what().
◆ LogData() [2/2]
mspass::utility::LogData::LogData |
( |
const int |
jid, |
|
|
const std::string |
alg, |
|
|
const std::string |
msg, |
|
|
const mspass::utility::ErrorSeverity |
lvl |
|
) |
| |
Normal constuctor from strings.
- Parameters
-
jid | is the value to assign to job_id. |
alg | is assigned to algorithm attribute. |
msg | is the error message. |
lvl | is the error severity. Note p_id is always fetched with the system call getpid in the constructor. |
The documentation for this class was generated from the following files:
- /home/runner/work/mspass/mspass/cxx/include/mspass/utility/ErrorLogger.h
- /home/runner/work/mspass/mspass/cxx/src/lib/utility/ErrorLogger.cc