Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.
Types ¶
type EtwProvider ¶
type LogSourcesInfo ¶
type LogSourcesInfo struct {
LogConfig LogConfig `json:"LogConfig"`
}
Log Sources JSON structure
func GetDefaultLogSources ¶
func GetDefaultLogSources() LogSourcesInfo
GetDefaultLogSources returns the default log sources configuration.
type Source ¶
type Source struct {
Type string `json:"type"`
Providers []EtwProvider `json:"providers"`
}
Click to show internal directories.
Click to hide internal directories.