Jpp
18.3.0
the software that should make you happy
|
Auxiliary data structure for logger message. More...
#include <JLoggerMessage.hh>
Public Member Functions | |
JLoggerMessage () | |
Default constructor. More... | |
JLoggerMessage (const JDatalogString &datalog) | |
Copy constructor. More... | |
bool | match (const JLoggerMessage &message) const |
Get match. More... | |
bool | hasTime () const |
Check if message has date and time. More... | |
long int | getTime () const |
Get UTC time. More... | |
Public Attributes | |
std::string | file_name |
std::string | tag |
std::string | process |
JDateAndTime | datim |
std::string | ip |
std::string | nickname |
std::string | fullname |
std::string | level |
std::string | data |
Friends | |
std::istream & | operator>> (std::istream &in, JLoggerMessage &object) |
Read message from input. More... | |
std::ostream & | operator<< (std::ostream &out, const JLoggerMessage &object) |
Write message to output. More... | |
Auxiliary data structure for logger message.
Definition at line 36 of file JLoggerMessage.hh.
|
inline |
|
inline |
Copy constructor.
datalog | data log |
Definition at line 49 of file JLoggerMessage.hh.
|
inline |
Get match.
message | message |
Definition at line 87 of file JLoggerMessage.hh.
|
inline |
Check if message has date and time.
Definition at line 108 of file JLoggerMessage.hh.
|
inline |
|
friend |
Read message from input.
in | input stream |
object | message |
Definition at line 135 of file JLoggerMessage.hh.
|
friend |
Write message to output.
out | output stream |
object | message |
Definition at line 171 of file JLoggerMessage.hh.
std::string JDB::JLoggerMessage::file_name |
Definition at line 199 of file JLoggerMessage.hh.
std::string JDB::JLoggerMessage::tag |
Definition at line 200 of file JLoggerMessage.hh.
std::string JDB::JLoggerMessage::process |
Definition at line 201 of file JLoggerMessage.hh.
JDateAndTime JDB::JLoggerMessage::datim |
Definition at line 202 of file JLoggerMessage.hh.
std::string JDB::JLoggerMessage::ip |
Definition at line 203 of file JLoggerMessage.hh.
std::string JDB::JLoggerMessage::nickname |
Definition at line 204 of file JLoggerMessage.hh.
std::string JDB::JLoggerMessage::fullname |
Definition at line 205 of file JLoggerMessage.hh.
std::string JDB::JLoggerMessage::level |
Definition at line 206 of file JLoggerMessage.hh.
std::string JDB::JLoggerMessage::data |
Definition at line 207 of file JLoggerMessage.hh.