Set ETW provider info so it's always treated as TraceLogging

Signed-off-by: Kevin Parsons <kevpar@ntdev.microsoft.com>
This commit is contained in:
Kevin Parsons
2019-01-17 10:45:50 -08:00
parent 6c8aa416ae
commit 7dba96a333
4 changed files with 38 additions and 3 deletions
+6
View File
@@ -36,6 +36,12 @@ func WithKeyword(keyword uint64) EventOpt {
}
}
func WithChannel(channel Channel) EventOpt {
return func(options *eventOptions) {
options.descriptor.Channel = channel
}
}
// WithTags specifies the tags of the event to be written. Tags is a 28-bit
// value (top 4 bits are ignored) which are interpreted by the event consumer.
func WithTags(newTags uint32) EventOpt {