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()) | |
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 57 of file UT_UniversalLogEntry.h.
|
inline |
Definition at line 60 of file UT_UniversalLogEntry.h.
|
inline |
Definition at line 86 of file UT_UniversalLogEntry.h.
|
inline |
Definition at line 95 of file UT_UniversalLogEntry.h.
|
static |
|
inline |
The natural order of log messages is chronological.
Definition at line 81 of file UT_UniversalLogEntry.h.
|
static |
UT_ErrorSeverity UT_UniversalLogEntry::myErrorSeverity |
Definition at line 123 of file UT_UniversalLogEntry.h.
UT_UniversalLogExternalInfoHandle UT_UniversalLogEntry::myExternalInfo |
Definition at line 127 of file UT_UniversalLogEntry.h.
UT_StringHolder UT_UniversalLogEntry::myMessage |
Definition at line 120 of file UT_UniversalLogEntry.h.
UT_SourceLocation UT_UniversalLogEntry::mySourceCodeLocation |
Definition at line 122 of file UT_UniversalLogEntry.h.
UT_StringHolder UT_UniversalLogEntry::mySourceContext |
Definition at line 121 of file UT_UniversalLogEntry.h.
UT_StringHolder UT_UniversalLogEntry::mySourceName |
Definition at line 119 of file UT_UniversalLogEntry.h.
int UT_UniversalLogEntry::myThreadId |
Definition at line 126 of file UT_UniversalLogEntry.h.
fpreal UT_UniversalLogEntry::myTime |
Definition at line 125 of file UT_UniversalLogEntry.h.
int UT_UniversalLogEntry::myVerbosity |
Definition at line 124 of file UT_UniversalLogEntry.h.
|
static |
Definition at line 128 of file UT_UniversalLogEntry.h.
|
static |
Definition at line 129 of file UT_UniversalLogEntry.h.