mirror of
https://github.com/rwinkhart/go-winio.git
synced 2026-10-27 21:49:56 -04:00
Change from reflection to type switch in Logrus hook
This commit is contained in:
1 parent
62f7a6b7b9
commit
cd4b2fefe9
2 files changed
+5
-4
No files matched your search
@@ -8,7 +8,8 @@ import (
|
||||
// InType indicates the type of data contained in the ETW event.
|
||||
type InType byte
|
||||
|
||||
// Various InType definitions for TraceLogging.
|
||||
// Various InType definitions for TraceLogging. These must match the definitions
|
||||
// found in TraceLoggingProvider.h in the Windows SDK.
|
||||
const (
|
||||
InTypeNull InType = iota
|
||||
InTypeUnicodeString
|
||||
|
||||
Reference in new issue
Block a user