Page tree
Skip to end of metadata
Go to start of metadata

Defines settings for registered log sources.

Structure

 

Members

dwSize
Type: DWORD
The size of the structure in bytes.
dwMask
Type: DWORD
The mask that specified which values in the LogSourceSettings structure are valid.
nLogLevel
Type: int
The level of logging. See Log Levels for more information
bEnabled
Type: BOOL
Whether this log source is enabled or not
szSourceName
Type: WCHAR *
The name of the log source. Can be up to LOG_MAX_NAME characters in length + a terminating null character.
sourceUUID
Type: GUID
The UUID of the source. You must specify this when registering a log source.
loggerUUID
Type: GUID

The UUID of the logger that this source is using.

formatUUID
Type: GUID

The UUID of the log format that this source is using.

dwFormatType
Type: DWORD

The format type of the logger. Valid values are LOGGER_FORMAT_TYPE_WINGATE and LOGGER_FORMAT_TYPE_USAGE

szSourceClassName
Type: WCHAR *

A user defined string indicating the class name of the log source

 

Remarks

Field mask flags

The dwMask field indicates which of the fields in the LogSourceSettings structure are to be considered. The values should be OR'd together.

Flag
LOG_SFMASK_LOG_LEVEL
LOG_SFMASK_LOGGER_ID
LOG_SFMASK_FLAGS
LOG_SFMASK_ENABLED
LOG_SFMASK_SOURCE_NAME
 LOG_SFMASK_SOURCE_UUID
 LOG_SFMASK_LOGGER_UUID
 LOG_SFMASK_FORMAT_ID
 LOG_SFMASK_FORMAT_TYPE
 LOG_SFMASK_CLASS_NAME
 

Examples

None

See Also

LogRegisterSource

LogGetSettings

LogSetSettings