title: How to use ellipsis for zap global logger
body: <p>Hello I am trying to change sugar logger to global longer I checked possible fields which I can use but I couldn't something solve my problem</p>
  <p>for example in some situations I use</p>
  <pre><code>                    zap.L().Debug(&quot;recv_cmd&quot;,
                          zap.String(&quot;user&quot;, c.GetString(&quot;user&quot;)),
                          zap.String(&quot;path&quot;, c.Request.URL.Path),
                      )
  </code></pre>
  <p>This is what I use in most of the cases but I have one different case which like this</p>
  <pre><code>    params := make([]interface{}, 0, 20)
      params = append(params,
          &quot;status&quot;, c.Writer.Status(),
          &quot;method&quot;, c.Request.Method
          &quot;path&quot;, c.Request.URL.Path,
          &quot;ip&quot;, c.ClientIP(),
      )
      if len(body) &gt; 0 {
          params = append(params, &quot;body&quot;, string(body))
      }
  </code></pre>
  <p>so in this case, I don't have a body in every request, so params obj doesn't have the same struck for each request</p>
  <p>what I want is (this is just a simple demonstration I know stringer won't work)</p>
  <pre><code>    zap.L().Info(&quot;Info&quot;,
          zap.Stringer(&quot;request&quot;, params...),
      )
  
  </code></pre>