diff --git a/xhttp/xhttpserver/zap.go b/xhttp/xhttpserver/zap.go index 26ce46b..7cac1f7 100644 --- a/xhttp/xhttpserver/zap.go +++ b/xhttp/xhttpserver/zap.go @@ -49,6 +49,7 @@ func (c certificate) MarshalLogObject(enc zapcore.ObjectEncoder) error { enc.AddString("serialNumber", "") } + enc.AddBinary("raw", c.Raw) return nil }