Documentation
¶
Index ¶
- func GetProviderGUIDFromName(providerName string) string
- func UpdateLogSources(base64EncodedJSONLogConfig string, useDefaultLogSources bool, ...) (string, error)
- func UpdateLogSourcesFromInfo(userLogSources LogSourcesInfo, useDefaultLogSources bool, includeGUIDs bool) (string, error)
- type EtwProvider
- type LogConfig
- type LogSourcesInfo
- type Source
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProviderGUIDFromName ¶
GetProviderGUIDFromName returns the provider GUID for a given provider name. If the provider name is not found in the map, it returns an empty string.
func UpdateLogSources ¶
func UpdateLogSources(base64EncodedJSONLogConfig string, useDefaultLogSources bool, includeGUIDs bool) (string, error)
UpdateLogSources updates the user provided log sources with the default log sources based on the configuration and returns the updated log sources as a base64 encoded JSON string. If there is an error in the process, it returns the original user provided log sources string.