-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Labels
internally-reviewedInternally reviewedInternally reviewed
Description
The logging library used by this project does not export the struct members for the Field struct.
type Logger interface {
DebugLogger
InfoLogger
WarnLogger
ErrorLogger
FatalLogger
PanicLogger
LevelLogger(level Level) LevelLogger
}
type DebugLogger interface {
Debug(msg string,fields ...Field)
}
type Field struct {
kind FieldKind
key string
stringValue string
stringsValue []string
intValue int64
byteValue []byte
interfaceValue interface{}
errorValue error
}
This blocks custom implementations of the interface even though the libraries documentation says custom implementations are possible. There is no way to access any fields provided to the custom implementation.
ryou90
Metadata
Metadata
Assignees
Labels
internally-reviewedInternally reviewedInternally reviewed