func github.com/gotd/log.String
16 uses
github.com/gotd/log (current package)
attr.go#L138: func String(key, value string) Attr {
attr.go#L202: return String(key, "<nil>")
attr.go#L204: return String(key, value.String())
github.com/gotd/td/crypto
key.go#L131: return log.Group("", log.String("id", hex.EncodeToString(a.ID[:])))
github.com/gotd/td/exchange
server_flow.go#L126: s.log.Debug(ctx, "Sending ResPQ", log.String("pq", pq.String()))
github.com/gotd/td/mtproto
handle_result.go#L58: log.String("err_msg", rpcErr.ErrorMessage),
zap.go#L18: attrs := []log.Attr{log.String("type_id", fmt.Sprintf("0x%x", l.ID))}
zap.go#L20: attrs = append(attrs, log.String("type_name", l.Name))
github.com/gotd/td/tdsync
log_group.go#L42: l := log.For(g.log).With(log.String("task", taskName))
github.com/gotd/td/telegram
client.go#L213: client.log = client.log.With(log.String("v", v))
connect.go#L73: c.log.Info(ctx, "Got self", log.String("username", self.Username))
handle_updates.go#L44: c.log.Warn(c.ctx, "Ignoring update", log.String("update_type", fmt.Sprintf("%T", u)))
invoke.go#L64: log.String("error_type", rpcErr.Type),
session.go#L48: log.String("addr", data.Addr),
session.go#L49: log.String("key_id", fmt.Sprintf("%x", data.AuthKeyID)),
session.go#L96: log.String("key_id", fmt.Sprintf("%x", data.AuthKeyID)),
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |