diff --git a/logger/unwrap/unwrap.go b/logger/unwrap/unwrap.go index 491ead51..c5469b47 100644 --- a/logger/unwrap/unwrap.go +++ b/logger/unwrap/unwrap.go @@ -616,7 +616,7 @@ func (f *unwrap) checkTakeAll(v reflect.Value) bool { switch v.Kind() { case reflect.Struct: break - case reflect.Pointer: + case reflect.Ptr: v = v.Elem() if v.Kind() != reflect.Struct { return true