HDK
|
Simple object to hold the data associated with a single log entry event. More...
#include <UT_UniversalLogEntry.h>
Public Member Functions | |
UT_UniversalLogEntry (const UT_StringHolder &source_name=UT_StringHolder::theEmptyString, const UT_StringHolder &message=UT_StringHolder::theEmptyString, const UT_StringHolder &source_context=UT_StringHolder::theEmptyString, UT_ErrorSeverity severity=UT_ERROR_NONE, int verbosity=0, const UT_SourceLocation &source_code_location=UT_SourceLocation(), UT_UniversalLogExternalInfoHandle external_info=UT_UniversalLogExternalInfoHandle()) | |
UT_UniversalLogEntry (const UT_ErrorCode &ec, const UT_StringHolder &what, const UT_StringHolder &source_context=UT_StringHolder::theEmptyString, UT_ErrorSeverity severity=UT_ERROR_ABORT, int verbosity=0, const UT_SourceLocation &source_location=UT_SourceLocation(), UT_UniversalLogExternalInfoHandle external_info=UT_UniversalLogExternalInfoHandle()) | |
bool | operator< (const UT_UniversalLogEntry &other) const |
The natural order of log messages is chronological. More... | |
exint | getMemoryUsage () const |
SYS_HashType | hash () const |
Static Public Member Functions | |
static bool | save (UT_JSONWriter &w, const UT_Array< UT_UniversalLogEntry > &log_entries) |
static bool | load (UT_JSONParser &p, UT_Array< UT_UniversalLogEntry > &log_entries) |
Static Public Attributes | |
static fpreal | theStartTime |
static fpreal | theStartTimeSinceEpoch |
Simple object to hold the data associated with a single log entry event.
Definition at line 58 of file UT_UniversalLogEntry.h.
|
inline |
Definition at line 61 of file UT_UniversalLogEntry.h.
|
inline |
Definition at line 81 of file UT_UniversalLogEntry.h.
|
inline |
Definition at line 109 of file UT_UniversalLogEntry.h.
|
inline |
Definition at line 118 of file UT_UniversalLogEntry.h.
|
static |
|
inline |
The natural order of log messages is chronological.
Definition at line 104 of file UT_UniversalLogEntry.h.
|
static |
UT_ErrorSeverity UT_UniversalLogEntry::myErrorSeverity |
Definition at line 146 of file UT_UniversalLogEntry.h.
UT_UniversalLogExternalInfoHandle UT_UniversalLogEntry::myExternalInfo |
Definition at line 150 of file UT_UniversalLogEntry.h.
UT_StringHolder UT_UniversalLogEntry::myMessage |
Definition at line 143 of file UT_UniversalLogEntry.h.
UT_SourceLocation UT_UniversalLogEntry::mySourceCodeLocation |
Definition at line 145 of file UT_UniversalLogEntry.h.
UT_StringHolder UT_UniversalLogEntry::mySourceContext |
Definition at line 144 of file UT_UniversalLogEntry.h.
UT_StringHolder UT_UniversalLogEntry::mySourceName |
Definition at line 142 of file UT_UniversalLogEntry.h.
int UT_UniversalLogEntry::myThreadId |
Definition at line 149 of file UT_UniversalLogEntry.h.
fpreal UT_UniversalLogEntry::myTime |
Definition at line 148 of file UT_UniversalLogEntry.h.
int UT_UniversalLogEntry::myVerbosity |
Definition at line 147 of file UT_UniversalLogEntry.h.
|
static |
Definition at line 151 of file UT_UniversalLogEntry.h.
|
static |
Definition at line 152 of file UT_UniversalLogEntry.h.