internal/service/logger/logger.go
func (c Context) MarshalLogObject(enc zapcore.ObjectEncoder) error {
	if c.HTTPRequest != emptyHTTPRequest {
		enc.AddObject("httpRequest", c.HTTPRequest)
	}
	if c.User != "" {
		enc.AddString("user", c.User)
	}
	if c.reportLocation != emptyReportLocation {
		enc.AddObject("reportLocation", c.reportLocation)
	}

	return nil
}
func (c Context) MarshalLogObject(enc zapcore.ObjectEncoder) error {
	if c.HTTPRequest != emptyHTTPRequest {
		enc.AddObject("httpRequest", c.HTTPRequest)
	}
	if c.User != "" {
		enc.AddString("user", c.User)
	}
	if c.reportLocation != emptyReportLocation {
		enc.AddObject("reportLocation", c.reportLocation)
	}

	return nil
}
// MarshalLogObject implements zapcore ObjectMarshaler.