HDK
|
#include <NET_UniversalLogNetworkingSource.h>
Public Member Functions | |
NET_LogManager () | |
template<typename... Args> | |
void | logMessage (const UT_StringHolder &source_name, const char *fmt, Args &&...args) |
template<typename... Args> | |
void | logPrompt (const UT_StringHolder &source_name, const char *fmt, Args &&...args) |
template<typename... Args> | |
void | logWarning (const UT_StringHolder &source_name, const char *fmt, Args &&...args) |
template<typename... Args> | |
void | logError (const UT_StringHolder &source_name, const char *fmt, Args &&...args) |
template<typename... Args> | |
void | logFatal (const UT_StringHolder &source_name, const char *fmt, Args &&...args) |
void | logEntry (const UT_UniversalLogEntry &entry) |
const UT_UniversalLogEntryArray & | logs () const |
void | clear () |
void | setTrackLogs (bool track) |
SYS_NO_DISCARD_RESULT bool | isTrackingLogs () const |
void | generateMessage (UT_StringHolder &message, UT_ErrorSeverity sev=UT_ErrorSeverity::UT_ERROR_NONE) |
SYS_NO_DISCARD_RESULT bool | isEmpty () const |
Both logs and keeps track of logged entries. This is mostly useful if you need to keep track of all logged messages. As an example, HTTP api requests need to be logged but also collected so they can be sent back to the client.
Definition at line 26 of file NET_UniversalLogNetworkingSource.h.
|
inline |
Definition at line 29 of file NET_UniversalLogNetworkingSource.h.
|
inline |
Definition at line 93 of file NET_UniversalLogNetworkingSource.h.
void NET_LogManager::generateMessage | ( | UT_StringHolder & | message, |
UT_ErrorSeverity | sev = UT_ErrorSeverity::UT_ERROR_NONE |
||
) |
|
inline |
Definition at line 102 of file NET_UniversalLogNetworkingSource.h.
|
inline |
Definition at line 96 of file NET_UniversalLogNetworkingSource.h.
|
inline |
Definition at line 83 of file NET_UniversalLogNetworkingSource.h.
|
inline |
Definition at line 64 of file NET_UniversalLogNetworkingSource.h.
|
inline |
Definition at line 74 of file NET_UniversalLogNetworkingSource.h.
|
inline |
Definition at line 34 of file NET_UniversalLogNetworkingSource.h.
|
inline |
Definition at line 44 of file NET_UniversalLogNetworkingSource.h.
|
inline |
Definition at line 92 of file NET_UniversalLogNetworkingSource.h.
|
inline |
Definition at line 54 of file NET_UniversalLogNetworkingSource.h.
|
inline |
Definition at line 95 of file NET_UniversalLogNetworkingSource.h.