go.uber.org/zap/buffer.Buffer.Len (method)
15 uses
go.uber.org/zap/buffer (current package)
buffer.go#L83: func (b *Buffer) Len() int {
go.uber.org/zap/zapcore
console_encoder.go#L143: if context.buf.Len() == 0 {
console_encoder.go#L154: if line.Len() > 0 {
json_encoder.go#L266: cur := enc.buf.Len()
json_encoder.go#L270: if cur == enc.buf.Len() {
json_encoder.go#L307: cur := enc.buf.Len()
json_encoder.go#L311: if cur == enc.buf.Len() {
json_encoder.go#L367: cur := final.buf.Len()
json_encoder.go#L369: if cur == final.buf.Len() {
json_encoder.go#L380: cur := final.buf.Len()
json_encoder.go#L390: if cur == final.buf.Len() {
json_encoder.go#L399: cur := final.buf.Len()
json_encoder.go#L401: if cur == final.buf.Len() {
json_encoder.go#L416: if enc.buf.Len() > 0 {
json_encoder.go#L456: last := enc.buf.Len() - 1
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |