From: John Wolfe Date: Mon, 22 Feb 2021 17:36:59 +0000 (-0800) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-11.3.0~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05c7fa93f68be1c96badaa596d25c12a6654eed1;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/log.h b/open-vm-tools/lib/include/log.h index 3a460a87e..9deb125d6 100644 --- a/open-vm-tools/lib/include/log.h +++ b/open-vm-tools/lib/include/log.h @@ -317,6 +317,22 @@ Log_NewCustomOutput(const char *instanceName, LogCustomMsgFunc *msgFunc, int minLogLevel); +typedef struct { + uint8 level; + Bool additionalLine; + char timeStamp[64]; + char threadName[32]; + char opID[132]; // Will be empty string on hosted products +} LogLineMetadata; + +typedef void (LogCustomMsgFuncEx)(const LogLineMetadata * const metadata, + const char *msg); + +LogOutput * +Log_NewCustomOutputEx(const char *instanceName, + LogCustomMsgFuncEx *msgFunc, + int minLogLevel); + #if defined(VMX86_SERVER) LogOutput * Log_NewEsxKernelLogOutput(const char *appPrefix,