12 #ifndef __NET_UNIVERSALLOGNETWORKINGSOURCE_H__
13 #define __NET_UNIVERSALLOGNETWORKINGSOURCE_H__
33 template <
typename... Args>
43 template <
typename... Args>
53 template <
typename... Args>
63 template <
typename... Args>
73 template <
typename... Args>
89 myLogs.emplace_back(entry);
93 void clear() { myLogs.clear(); }
104 return myLogs.isEmpty();
115 template <
typename... Args>
128 template <
typename... Args>
142 template <
typename... Args>
156 template <
typename... Args>
170 template <
typename... Args>
188 template <
typename... Args>
197 template <
typename... Args>
207 template <
typename... Args>
217 template <
typename... Args>
227 template <
typename... Args>
237 #endif // __NET_UNIVERSALLOGNETWORKINGSOURCE_H__
NET_API const UT_StringHolder & NETsourceName()
GLuint GLsizei const GLchar * message
void NETlogPrompt(NET_LogManager &mgr, const UT_StringHolder &context, const char *fmt, Args &&...args)
void logMessage(const UT_StringHolder &source_name, const char *fmt, Args &&...args)
void logError(const UT_StringHolder &source_name, const char *fmt, Args &&...args)
void NETlogMessage(NET_LogManager &mgr, const UT_StringHolder &context, const char *fmt, Args &&...args)
const UT_UniversalLogEntryArray & logs() const
void NETlogFatal(NET_LogManager &mgr, const UT_StringHolder &context, const char *fmt, Args &&...args)
void logPrompt(const UT_StringHolder &source_name, const char *fmt, Args &&...args)
void setTrackLogs(bool track)
#define SYS_NO_DISCARD_RESULT
size_t format(const char *fmt, const Args &...args)
Format a string using the same formatting codes as UTformat.
void logEntry(const UT_UniversalLogEntry &entry)
void NETlogWarning(NET_LogManager &mgr, const UT_StringHolder &context, const char *fmt, Args &&...args)
void logWarning(const UT_StringHolder &source_name, const char *fmt, Args &&...args)
SYS_NO_DISCARD_RESULT bool isEmpty() const
**If you just want to fire and args
SYS_NO_DISCARD_RESULT bool isTrackingLogs() const
void NETlogError(NET_LogManager &mgr, const UT_StringHolder &context, const char *fmt, Args &&...args)
Simple object to hold the data associated with a single log entry event.
NET_API void NETsendLogEntry(const UT_UniversalLogEntry &entry)
void logFatal(const UT_StringHolder &source_name, const char *fmt, Args &&...args)