Change from reflection to type switch in Logrus hook

This commit is contained in:
Kevin Parsons
2018-12-13 17:23:55 -08:00
parent 62f7a6b7b9
commit cd4b2fefe9
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -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