Broadcast C++ Toolkit
|
Public Types | |
enum | LogLevel { LOG_ALL = 0, LOG_DEBUG = 1, LOG_INFO = 2, LOG_WARN = 3, LOG_ERROR = 4, LOG_PANIC = 5, LOG_NONE = 6 } |
Public Member Functions | |
LogMessage () | |
Constructor. More... | |
LogMessage (const LogMessage &other) | |
LogMessage & | operator= (const LogMessage &other) |
~LogMessage () | |
Destructor. | |
std::string | get_text () const |
Gets the message text to log. | |
time_t | get_time () const |
Gets the time that this message was logged as seconds past unix epoch. | |
unsigned int | get_microseconds () const |
Gets the number of microseconds past the last second that this message was logged. | |
LogLevel | get_level () const |
Gets the log level of this message. | |
std::string | get_filename () const |
Gets the name of the file from which this message originated. | |
int | get_line_number () const |
Gets the line number from which this message originated. | |
uint64_t | get_thread_id () const |
Gets the id of the thread from which this message originated. | |
Friends | |
struct | LogMessageImpl |
FactSet::Datafeed::LogMessage::LogMessage | ( | ) |
Constructor.
Constructs a new empty log message