diff --git a/http.go b/http.go index a7a0c39..d1de88b 100644 --- a/http.go +++ b/http.go @@ -38,20 +38,6 @@ type Config struct { Middleware map[string]middleware.Config } -/** -// MarshalObject adds the information over the object to the *log.Entry -func (c *Config) MarshalObject(e *log.Entry) { - e.Strs("Address", c.Addr).Bool("TLS", c.TLSconfig != nil) - if c.TLSconfig != nil { - e.Str("Certfile", c.Certfile) - e.Str("Keyfile", c.Keyfile) - } - e.Int("sites", len(c.Sites)) -} - -var _ log.ObjectMarshaler = &Config{} -/**/ - // Server is an wrapper for the *http.Server and *gin.Engine type Server struct { http *http.Server