SYMBOL INDEX (1372 symbols across 132 files) FILE: array.go function Array (line 33) | func Array(key string, val zapcore.ArrayMarshaler) Field { function Bools (line 38) | func Bools(key string, bs []bool) Field { function ByteStrings (line 44) | func ByteStrings(key string, bss [][]byte) Field { function Complex128s (line 49) | func Complex128s(key string, nums []complex128) Field { function Complex64s (line 54) | func Complex64s(key string, nums []complex64) Field { function Durations (line 59) | func Durations(key string, ds []time.Duration) Field { function Float64s (line 64) | func Float64s(key string, nums []float64) Field { function Float32s (line 69) | func Float32s(key string, nums []float32) Field { function Ints (line 74) | func Ints(key string, nums []int) Field { function Int64s (line 79) | func Int64s(key string, nums []int64) Field { function Int32s (line 84) | func Int32s(key string, nums []int32) Field { function Int16s (line 89) | func Int16s(key string, nums []int16) Field { function Int8s (line 94) | func Int8s(key string, nums []int8) Field { function Objects (line 130) | func Objects[T zapcore.ObjectMarshaler](key string, values []T) Field { type objects (line 134) | type objects method MarshalLogArray (line 136) | func (os objects[T]) MarshalLogArray(arr zapcore.ArrayEncoder) error { type ObjectMarshalerPtr (line 147) | type ObjectMarshalerPtr interface function ObjectValues (line 174) | func ObjectValues[T any, P ObjectMarshalerPtr[T]](key string, values []T... type objectValues (line 178) | type objectValues method MarshalLogArray (line 180) | func (os objectValues[T, P]) MarshalLogArray(arr zapcore.ArrayEncoder) e... function Strings (line 197) | func Strings(key string, ss []string) Field { function Stringers (line 216) | func Stringers[T fmt.Stringer](key string, values []T) Field { type stringers (line 220) | type stringers method MarshalLogArray (line 222) | func (os stringers[T]) MarshalLogArray(arr zapcore.ArrayEncoder) error { function Times (line 230) | func Times(key string, ts []time.Time) Field { function Uints (line 235) | func Uints(key string, nums []uint) Field { function Uint64s (line 240) | func Uint64s(key string, nums []uint64) Field { function Uint32s (line 245) | func Uint32s(key string, nums []uint32) Field { function Uint16s (line 250) | func Uint16s(key string, nums []uint16) Field { function Uint8s (line 255) | func Uint8s(key string, nums []uint8) Field { function Uintptrs (line 260) | func Uintptrs(key string, us []uintptr) Field { function Errors (line 265) | func Errors(key string, errs []error) Field { type bools (line 269) | type bools method MarshalLogArray (line 271) | func (bs bools) MarshalLogArray(arr zapcore.ArrayEncoder) error { type byteStringsArray (line 278) | type byteStringsArray method MarshalLogArray (line 280) | func (bss byteStringsArray) MarshalLogArray(arr zapcore.ArrayEncoder) ... type complex128s (line 287) | type complex128s method MarshalLogArray (line 289) | func (nums complex128s) MarshalLogArray(arr zapcore.ArrayEncoder) error { type complex64s (line 296) | type complex64s method MarshalLogArray (line 298) | func (nums complex64s) MarshalLogArray(arr zapcore.ArrayEncoder) error { type durations (line 305) | type durations method MarshalLogArray (line 307) | func (ds durations) MarshalLogArray(arr zapcore.ArrayEncoder) error { type float64s (line 314) | type float64s method MarshalLogArray (line 316) | func (nums float64s) MarshalLogArray(arr zapcore.ArrayEncoder) error { type float32s (line 323) | type float32s method MarshalLogArray (line 325) | func (nums float32s) MarshalLogArray(arr zapcore.ArrayEncoder) error { type ints (line 332) | type ints method MarshalLogArray (line 334) | func (nums ints) MarshalLogArray(arr zapcore.ArrayEncoder) error { type int64s (line 341) | type int64s method MarshalLogArray (line 343) | func (nums int64s) MarshalLogArray(arr zapcore.ArrayEncoder) error { type int32s (line 350) | type int32s method MarshalLogArray (line 352) | func (nums int32s) MarshalLogArray(arr zapcore.ArrayEncoder) error { type int16s (line 359) | type int16s method MarshalLogArray (line 361) | func (nums int16s) MarshalLogArray(arr zapcore.ArrayEncoder) error { type int8s (line 368) | type int8s method MarshalLogArray (line 370) | func (nums int8s) MarshalLogArray(arr zapcore.ArrayEncoder) error { type stringArray (line 377) | type stringArray method MarshalLogArray (line 379) | func (ss stringArray) MarshalLogArray(arr zapcore.ArrayEncoder) error { type times (line 386) | type times method MarshalLogArray (line 388) | func (ts times) MarshalLogArray(arr zapcore.ArrayEncoder) error { type uints (line 395) | type uints method MarshalLogArray (line 397) | func (nums uints) MarshalLogArray(arr zapcore.ArrayEncoder) error { type uint64s (line 404) | type uint64s method MarshalLogArray (line 406) | func (nums uint64s) MarshalLogArray(arr zapcore.ArrayEncoder) error { type uint32s (line 413) | type uint32s method MarshalLogArray (line 415) | func (nums uint32s) MarshalLogArray(arr zapcore.ArrayEncoder) error { type uint16s (line 422) | type uint16s method MarshalLogArray (line 424) | func (nums uint16s) MarshalLogArray(arr zapcore.ArrayEncoder) error { type uint8s (line 431) | type uint8s method MarshalLogArray (line 433) | func (nums uint8s) MarshalLogArray(arr zapcore.ArrayEncoder) error { type uintptrs (line 440) | type uintptrs method MarshalLogArray (line 442) | func (nums uintptrs) MarshalLogArray(arr zapcore.ArrayEncoder) error { FILE: array_test.go function BenchmarkBoolsArrayMarshaler (line 35) | func BenchmarkBoolsArrayMarshaler(b *testing.B) { function BenchmarkBoolsReflect (line 46) | func BenchmarkBoolsReflect(b *testing.B) { function TestArrayWrappers (line 55) | func TestArrayWrappers(t *testing.T) { function TestObjectsAndObjectValues (line 112) | func TestObjectsAndObjectValues(t *testing.T) { type emptyObject (line 186) | type emptyObject struct method MarshalLogObject (line 188) | func (*emptyObject) MarshalLogObject(zapcore.ObjectEncoder) error { type fakeObject (line 192) | type fakeObject struct method MarshalLogObject (line 197) | func (o *fakeObject) MarshalLogObject(enc zapcore.ObjectEncoder) error { function TestObjectsAndObjectValues_marshalError (line 202) | func TestObjectsAndObjectValues_marshalError(t *testing.T) { type stringerObject (line 260) | type stringerObject struct method String (line 264) | func (s stringerObject) String() string { function TestStringers (line 268) | func TestStringers(t *testing.T) { FILE: benchmarks/apex_test.go function newDisabledApexLog (line 30) | func newDisabledApexLog() *log.Logger { function newApexLog (line 37) | func newApexLog() *log.Logger { function fakeApexFields (line 44) | func fakeApexFields() log.Fields { FILE: benchmarks/kit_test.go function newKitLog (line 29) | func newKitLog(fields ...interface{}) log.Logger { FILE: benchmarks/log15_test.go function newLog15 (line 29) | func newLog15() log15.Logger { FILE: benchmarks/logrus_test.go function newDisabledLogrus (line 29) | func newDisabledLogrus() *logrus.Logger { function newLogrus (line 35) | func newLogrus() *logrus.Logger { function fakeLogrusFields (line 44) | func fakeLogrusFields() logrus.Fields { FILE: benchmarks/scenario_bench_test.go function BenchmarkDisabledWithoutFields (line 33) | func BenchmarkDisabledWithoutFields(b *testing.B) { function BenchmarkDisabledAccumulatedContext (line 120) | func BenchmarkDisabledAccumulatedContext(b *testing.B) { function BenchmarkDisabledAddingFields (line 207) | func BenchmarkDisabledAddingFields(b *testing.B) { function BenchmarkWithoutFields (line 285) | func BenchmarkWithoutFields(b *testing.B) { function BenchmarkAccumulatedContext (line 443) | func BenchmarkAccumulatedContext(b *testing.B) { function BenchmarkAddingFields (line 583) | func BenchmarkAddingFields(b *testing.B) { FILE: benchmarks/slog_test.go function newSlog (line 28) | func newSlog(fields ...slog.Attr) *slog.Logger { function newDisabledSlog (line 32) | func newDisabledSlog(fields ...slog.Attr) *slog.Logger { function fakeSlogFields (line 36) | func fakeSlogFields() []slog.Attr { function fakeSlogArgs (line 51) | func fakeSlogArgs() []any { FILE: benchmarks/zap_test.go function fakeMessages (line 71) | func fakeMessages(n int) []string { function getMessage (line 79) | func getMessage(iter int) string { type users (line 83) | type users method MarshalLogArray (line 85) | func (uu users) MarshalLogArray(arr zapcore.ArrayEncoder) error { type user (line 93) | type user struct method MarshalLogObject (line 99) | func (u *user) MarshalLogObject(enc zapcore.ObjectEncoder) error { function newZapLogger (line 106) | func newZapLogger(lvl zapcore.Level) *zap.Logger { function newSampledLogger (line 118) | func newSampledLogger(lvl zapcore.Level) *zap.Logger { function fakeFields (line 127) | func fakeFields() []zap.Field { function fakeSugarFields (line 143) | func fakeSugarFields() []interface{} { function fakeFmtArgs (line 158) | func fakeFmtArgs() []interface{} { FILE: benchmarks/zerolog_test.go function newZerolog (line 29) | func newZerolog() zerolog.Logger { function newDisabledZerolog (line 33) | func newDisabledZerolog() zerolog.Logger { method MarshalZerologObject (line 37) | func (u *user) MarshalZerologObject(e *zerolog.Event) { method MarshalZerologArray (line 43) | func (uu users) MarshalZerologArray(a *zerolog.Array) { function fakeZerologFields (line 49) | func fakeZerologFields(e *zerolog.Event) *zerolog.Event { function fakeZerologContext (line 63) | func fakeZerologContext(c zerolog.Context) zerolog.Context { FILE: buffer/buffer.go constant _size (line 31) | _size = 1024 type Buffer (line 35) | type Buffer struct method AppendByte (line 41) | func (b *Buffer) AppendByte(v byte) { method AppendBytes (line 46) | func (b *Buffer) AppendBytes(v []byte) { method AppendString (line 51) | func (b *Buffer) AppendString(s string) { method AppendInt (line 56) | func (b *Buffer) AppendInt(i int64) { method AppendTime (line 61) | func (b *Buffer) AppendTime(t time.Time, layout string) { method AppendUint (line 67) | func (b *Buffer) AppendUint(i uint64) { method AppendBool (line 72) | func (b *Buffer) AppendBool(v bool) { method AppendFloat (line 78) | func (b *Buffer) AppendFloat(f float64, bitSize int) { method Len (line 83) | func (b *Buffer) Len() int { method Cap (line 88) | func (b *Buffer) Cap() int { method Bytes (line 93) | func (b *Buffer) Bytes() []byte { method String (line 98) | func (b *Buffer) String() string { method Reset (line 104) | func (b *Buffer) Reset() { method Write (line 109) | func (b *Buffer) Write(bs []byte) (int, error) { method WriteByte (line 118) | func (b *Buffer) WriteByte(v byte) error { method WriteString (line 127) | func (b *Buffer) WriteString(s string) (int, error) { method TrimNewline (line 133) | func (b *Buffer) TrimNewline() { method Free (line 144) | func (b *Buffer) Free() { FILE: buffer/buffer_test.go function TestBufferWrites (line 32) | func TestBufferWrites(t *testing.T) { function BenchmarkBuffers (line 68) | func BenchmarkBuffers(b *testing.B) { FILE: buffer/pool.go type Pool (line 28) | type Pool struct method Get (line 44) | func (p Pool) Get() *Buffer { method put (line 51) | func (p Pool) put(buf *Buffer) { function NewPool (line 33) | func NewPool() Pool { FILE: buffer/pool_test.go function TestBuffers (line 30) | func TestBuffers(t *testing.T) { FILE: clock_test.go type constantClock (line 32) | type constantClock method Now (line 34) | func (c constantClock) Now() time.Time { return time.Time(c) } method NewTicker (line 35) | func (c constantClock) NewTicker(d time.Duration) *time.Ticker { function TestWithClock (line 39) | func TestWithClock(t *testing.T) { FILE: common_test.go function opts (line 31) | func opts(opts ...Option) []Option { function withLogger (line 37) | func withLogger(t testing.TB, e zapcore.LevelEnabler, opts []Option, f f... function withSugar (line 43) | func withSugar(t testing.TB, e zapcore.LevelEnabler, opts []Option, f fu... function runConcurrently (line 47) | func runConcurrently(goroutines, iterations int, wg *sync.WaitGroup, f f... FILE: config.go type SamplingConfig (line 39) | type SamplingConfig struct type Config (line 58) | type Config struct method Build (line 239) | func (cfg Config) Build(opts ...Option) (*Logger, error) { method buildOptions (line 264) | func (cfg Config) buildOptions(errSink zapcore.WriteSyncer) []Option { method openSinks (line 315) | func (cfg Config) openSinks() (zapcore.WriteSyncer, zapcore.WriteSynce... method buildEncoder (line 328) | func (cfg Config) buildEncoder() (zapcore.Encoder, error) { function NewProductionEncoderConfig (line 124) | func NewProductionEncoderConfig() zapcore.EncoderConfig { function NewProductionConfig (line 157) | func NewProductionConfig() Config { function NewDevelopmentEncoderConfig (line 200) | func NewDevelopmentEncoderConfig() zapcore.EncoderConfig { function NewDevelopmentConfig (line 227) | func NewDevelopmentConfig() Config { FILE: config_test.go function TestConfig (line 34) | func TestConfig(t *testing.T) { function TestConfigWithInvalidPaths (line 88) | func TestConfigWithInvalidPaths(t *testing.T) { function TestConfigWithMissingAttributes (line 110) | func TestConfigWithMissingAttributes(t *testing.T) { function makeSamplerCountingHook (line 146) | func makeSamplerCountingHook() (h func(zapcore.Entry, zapcore.SamplingDe... function TestConfigWithSamplingHook (line 161) | func TestConfigWithSamplingHook(t *testing.T) { FILE: encoder.go function RegisterEncoder (line 51) | func RegisterEncoder(name string, constructor func(zapcore.EncoderConfig... function newEncoder (line 64) | func newEncoder(name string, encoderConfig zapcore.EncoderConfig) (zapco... FILE: encoder_test.go function TestRegisterDefaultEncoders (line 31) | func TestRegisterDefaultEncoders(t *testing.T) { function TestRegisterEncoder (line 35) | func TestRegisterEncoder(t *testing.T) { function TestDuplicateRegisterEncoder (line 42) | func TestDuplicateRegisterEncoder(t *testing.T) { function TestRegisterEncoderNoName (line 49) | func TestRegisterEncoderNoName(t *testing.T) { function TestNewEncoder (line 53) | func TestNewEncoder(t *testing.T) { function TestNewEncoderNotRegistered (line 62) | func TestNewEncoderNotRegistered(t *testing.T) { function TestNewEncoderNoName (line 67) | func TestNewEncoderNoName(t *testing.T) { function testEncoders (line 72) | func testEncoders(f func()) { function testEncodersRegistered (line 79) | func testEncodersRegistered(t *testing.T, names ...string) { function newNilEncoder (line 86) | func newNilEncoder(_ zapcore.EncoderConfig) (zapcore.Encoder, error) { FILE: error.go function Error (line 33) | func Error(err error) Field { function NamedError (line 44) | func NamedError(key string, err error) Field { type errArray (line 51) | type errArray method MarshalLogArray (line 53) | func (errs errArray) MarshalLogArray(arr zapcore.ArrayEncoder) error { type errArrayElem (line 74) | type errArrayElem struct method MarshalLogObject (line 78) | func (e *errArrayElem) MarshalLogObject(enc zapcore.ObjectEncoder) err... FILE: error_test.go function TestErrorConstructors (line 34) | func TestErrorConstructors(t *testing.T) { function TestErrorArrayConstructor (line 58) | func TestErrorArrayConstructor(t *testing.T) { function TestErrorsArraysHandleRichErrors (line 81) | func TestErrorsArraysHandleRichErrors(t *testing.T) { function TestErrArrayBrokenEncoder (line 99) | func TestErrArrayBrokenEncoder(t *testing.T) { type brokenArrayObjectEncoder (line 116) | type brokenArrayObjectEncoder struct method AddArray (line 123) | func (enc brokenArrayObjectEncoder) AddArray(key string, marshaler zap... method AppendObject (line 131) | func (enc brokenArrayObjectEncoder) AppendObject(zapcore.ObjectMarshal... FILE: example_test.go function Example_presets (line 34) | func Example_presets() { function Example_basicConfiguration (line 68) | func Example_basicConfiguration() { function Example_advancedConfiguration (line 102) | func Example_advancedConfiguration() { function ExampleNamespace (line 153) | func ExampleNamespace() { type addr (line 165) | type addr struct method MarshalLogObject (line 176) | func (a addr) MarshalLogObject(enc zapcore.ObjectEncoder) error { type request (line 170) | type request struct method MarshalLogObject (line 182) | func (r *request) MarshalLogObject(enc zapcore.ObjectEncoder) error { function ExampleObject (line 188) | func ExampleObject() { function ExampleNewStdLog (line 204) | func ExampleNewStdLog() { function ExampleRedirectStdLog (line 214) | func ExampleRedirectStdLog() { function ExampleReplaceGlobals (line 226) | func ExampleReplaceGlobals() { function ExampleAtomicLevel (line 238) | func ExampleAtomicLevel() { function ExampleAtomicLevel_config (line 260) | func ExampleAtomicLevel_config() { function ExampleLogger_Check (line 289) | func ExampleLogger_Check() { function ExampleLogger_Named (line 307) | func ExampleLogger_Named() { function ExampleWrapCore_replace (line 326) | func ExampleWrapCore_replace() { function ExampleWrapCore_wrap (line 344) | func ExampleWrapCore_wrap() { function ExampleDict (line 362) | func ExampleDict() { function ExampleObjects (line 375) | func ExampleObjects() { function ExampleDictObject (line 391) | func ExampleDictObject() { function ExampleObjectValues (line 436) | func ExampleObjectValues() { FILE: exp/zapfield/zapfield.go function Str (line 30) | func Str[K ~string, V ~string](k K, v V) zap.Field { type stringArray (line 34) | type stringArray method MarshalLogArray (line 36) | func (a stringArray[T]) MarshalLogArray(enc zapcore.ArrayEncoder) error { function Strs (line 44) | func Strs[K ~string, V ~[]S, S ~string](k K, v V) zap.Field { FILE: exp/zapfield/zapfield_test.go type MyKey (line 33) | type MyKey type MyValue (line 34) | type MyValue type MyValues (line 35) | type MyValues function TestFieldConstructors (line 38) | func TestFieldConstructors(t *testing.T) { function assertCanBeReused (line 65) | func assertCanBeReused(t testing.TB, field zap.Field) { FILE: exp/zapslog/example_test.go type Password (line 35) | type Password method LogValue (line 37) | func (p Password) LogValue() slog.Value { function Example_slog (line 41) | func Example_slog() { FILE: exp/zapslog/handler.go type Handler (line 36) | type Handler struct method Enabled (line 133) | func (h *Handler) Enabled(ctx context.Context, level slog.Level) bool { method Handle (line 138) | func (h *Handler) Handle(ctx context.Context, record slog.Record) error { method appendGroups (line 190) | func (h *Handler) appendGroups(fields []zapcore.Field) []zapcore.Field { method WithAttrs (line 199) | func (h *Handler) WithAttrs(attrs []slog.Attr) slog.Handler { method WithGroup (line 224) | func (h *Handler) WithGroup(group string) slog.Handler { function NewHandler (line 53) | func NewHandler(core zapcore.Core, opts ...HandlerOption) *Handler { type groupObject (line 67) | type groupObject method MarshalLogObject (line 69) | func (gs groupObject) MarshalLogObject(enc zapcore.ObjectEncoder) error { function convertAttrToField (line 76) | func convertAttrToField(attr slog.Attr) zapcore.Field { function convertSlogLevel (line 119) | func convertSlogLevel(l slog.Level) zapcore.Level { FILE: exp/zapslog/handler_test.go function TestAddCaller (line 41) | func TestAddCaller(t *testing.T) { function TestAddStack (line 58) | func TestAddStack(t *testing.T) { function TestAddStackSkip (line 78) | func TestAddStackSkip(t *testing.T) { function TestEmptyAttr (line 92) | func TestEmptyAttr(t *testing.T) { function TestWithName (line 135) | func TestWithName(t *testing.T) { function TestInlineGroup (line 158) | func TestInlineGroup(t *testing.T) { function TestWithGroup (line 188) | func TestWithGroup(t *testing.T) { function TestConcurrentLogs (line 271) | func TestConcurrentLogs(t *testing.T) { type Token (line 343) | type Token method LogValue (line 345) | func (Token) LogValue() slog.Value { function TestAttrKinds (line 349) | func TestAttrKinds(t *testing.T) { function TestSlogtest (line 383) | func TestSlogtest(t *testing.T) { FILE: exp/zapslog/options.go type HandlerOption (line 28) | type HandlerOption interface type handlerOptionFunc (line 33) | type handlerOptionFunc method apply (line 35) | func (f handlerOptionFunc) apply(handler *Handler) { function WithName (line 40) | func WithName(name string) HandlerOption { function WithCaller (line 48) | func WithCaller(enabled bool) HandlerOption { function WithCallerSkip (line 60) | func WithCallerSkip(skip int) HandlerOption { function AddStacktraceAt (line 68) | func AddStacktraceAt(lvl slog.Level) HandlerOption { FILE: field.go function Skip (line 43) | func Skip() Field { function nilField (line 51) | func nilField(key string) Field { return Reflect(key, nil) } function Binary (line 58) | func Binary(key string, val []byte) Field { function Bool (line 63) | func Bool(key string, val bool) Field { function Boolp (line 73) | func Boolp(key string, val *bool) Field { function ByteString (line 83) | func ByteString(key string, val []byte) Field { function Complex128 (line 90) | func Complex128(key string, val complex128) Field { function Complex128p (line 96) | func Complex128p(key string, val *complex128) Field { function Complex64 (line 106) | func Complex64(key string, val complex64) Field { function Complex64p (line 112) | func Complex64p(key string, val *complex64) Field { function Float64 (line 122) | func Float64(key string, val float64) Field { function Float64p (line 128) | func Float64p(key string, val *float64) Field { function Float32 (line 138) | func Float32(key string, val float32) Field { function Float32p (line 144) | func Float32p(key string, val *float32) Field { function Int (line 152) | func Int(key string, val int) Field { function Intp (line 158) | func Intp(key string, val *int) Field { function Int64 (line 166) | func Int64(key string, val int64) Field { function Int64p (line 172) | func Int64p(key string, val *int64) Field { function Int32 (line 180) | func Int32(key string, val int32) Field { function Int32p (line 186) | func Int32p(key string, val *int32) Field { function Int16 (line 194) | func Int16(key string, val int16) Field { function Int16p (line 200) | func Int16p(key string, val *int16) Field { function Int8 (line 208) | func Int8(key string, val int8) Field { function Int8p (line 214) | func Int8p(key string, val *int8) Field { function String (line 222) | func String(key string, val string) Field { function Stringp (line 228) | func Stringp(key string, val *string) Field { function Uint (line 236) | func Uint(key string, val uint) Field { function Uintp (line 242) | func Uintp(key string, val *uint) Field { function Uint64 (line 250) | func Uint64(key string, val uint64) Field { function Uint64p (line 256) | func Uint64p(key string, val *uint64) Field { function Uint32 (line 264) | func Uint32(key string, val uint32) Field { function Uint32p (line 270) | func Uint32p(key string, val *uint32) Field { function Uint16 (line 278) | func Uint16(key string, val uint16) Field { function Uint16p (line 284) | func Uint16p(key string, val *uint16) Field { function Uint8 (line 292) | func Uint8(key string, val uint8) Field { function Uint8p (line 298) | func Uint8p(key string, val *uint8) Field { function Uintptr (line 306) | func Uintptr(key string, val uintptr) Field { function Uintptrp (line 312) | func Uintptrp(key string, val *uintptr) Field { function Reflect (line 326) | func Reflect(key string, val interface{}) Field { function Namespace (line 335) | func Namespace(key string) Field { function Stringer (line 341) | func Stringer(key string, val fmt.Stringer) Field { function Time (line 347) | func Time(key string, val time.Time) Field { function Timep (line 356) | func Timep(key string, val *time.Time) Field { function Stack (line 367) | func Stack(key string) Field { function StackSkip (line 373) | func StackSkip(key string, skip int) Field { function Duration (line 383) | func Duration(key string, val time.Duration) Field { function Durationp (line 389) | func Durationp(key string, val *time.Duration) Field { function Object (line 400) | func Object(key string, val zapcore.ObjectMarshaler) Field { function Inline (line 410) | func Inline(val zapcore.ObjectMarshaler) Field { function Dict (line 419) | func Dict(key string, val ...Field) Field { function dictField (line 424) | func dictField(key string, val []Field) Field { type dictObject (line 428) | type dictObject method MarshalLogObject (line 430) | func (d dictObject) MarshalLogObject(enc zapcore.ObjectEncoder) error { function DictObject (line 440) | func DictObject(val ...Field) zapcore.ObjectMarshaler { type anyFieldC (line 475) | type anyFieldC method Any (line 477) | func (f anyFieldC[T]) Any(key string, val any) Field { function Any (line 490) | func Any(key string, value interface{}) Field { FILE: field_test.go type username (line 36) | type username method MarshalLogObject (line 38) | func (n username) MarshalLogObject(enc zapcore.ObjectEncoder) error { function assertCanBeReused (line 43) | func assertCanBeReused(t testing.TB, field Field) { function TestFieldConstructors (line 63) | func TestFieldConstructors(t *testing.T) { function TestStackField (line 269) | func TestStackField(t *testing.T) { function TestStackSkipField (line 278) | func TestStackSkipField(t *testing.T) { function TestStackSkipFieldWithSkip (line 287) | func TestStackSkipFieldWithSkip(t *testing.T) { function TestDict (line 295) | func TestDict(t *testing.T) { function TestDictObject (line 319) | func TestDictObject(t *testing.T) { FILE: flag.go function LevelFlag (line 35) | func LevelFlag(name string, defaultLevel zapcore.Level, usage string) *z... FILE: flag_test.go type flagTestCase (line 33) | type flagTestCase struct method runImplicitSet (line 39) | func (tc flagTestCase) runImplicitSet(t testing.TB) { method runExplicitSet (line 49) | func (tc flagTestCase) runExplicitSet(t testing.TB) { method run (line 57) | func (tc flagTestCase) run(t testing.TB, set *flag.FlagSet, actual *za... function TestLevelFlag (line 68) | func TestLevelFlag(t *testing.T) { function TestLevelFlagsAreIndependent (line 90) | func TestLevelFlagsAreIndependent(t *testing.T) { FILE: global.go constant _stdLogDefaultDepth (line 34) | _stdLogDefaultDepth = 1 constant _loggerWriterDepth (line 35) | _loggerWriterDepth = 2 constant _programmerErrorTemplate (line 36) | _programmerErrorTemplate = "You've found a bug in zap! Please file a bug... function L (line 48) | func L() *Logger { function S (line 57) | func S() *SugaredLogger { function ReplaceGlobals (line 66) | func ReplaceGlobals(logger *Logger) func() { function NewStdLog (line 78) | func NewStdLog(l *Logger) *log.Logger { function NewStdLogAt (line 86) | func NewStdLogAt(l *Logger, level zapcore.Level) (*log.Logger, error) { function RedirectStdLog (line 102) | func RedirectStdLog(l *Logger) func() { function RedirectStdLogAt (line 119) | func RedirectStdLogAt(l *Logger, level zapcore.Level) (func(), error) { function redirectStdLogAt (line 123) | func redirectStdLogAt(l *Logger, level zapcore.Level) (func(), error) { function levelToFunc (line 141) | func levelToFunc(logger *Logger, lvl zapcore.Level) (func(string, ...Fie... type loggerWriter (line 161) | type loggerWriter struct method Write (line 165) | func (l *loggerWriter) Write(p []byte) (int, error) { FILE: global_test.go function TestReplaceGlobals (line 40) | func TestReplaceGlobals(t *testing.T) { function TestGlobalsConcurrentUse (line 69) | func TestGlobalsConcurrentUse(t *testing.T) { function TestNewStdLog (line 100) | func TestNewStdLog(t *testing.T) { function TestNewStdLogAt (line 108) | func TestNewStdLogAt(t *testing.T) { function TestNewStdLogAtPanics (line 121) | func TestNewStdLogAtPanics(t *testing.T) { function TestNewStdLogAtFatal (line 134) | func TestNewStdLogAtFatal(t *testing.T) { function TestNewStdLogAtInvalid (line 147) | func TestNewStdLogAtInvalid(t *testing.T) { function TestRedirectStdLog (line 152) | func TestRedirectStdLog(t *testing.T) { function TestRedirectStdLogCaller (line 170) | func TestRedirectStdLogCaller(t *testing.T) { function TestRedirectStdLogAt (line 180) | func TestRedirectStdLogAt(t *testing.T) { function TestRedirectStdLogAtCaller (line 204) | func TestRedirectStdLogAtCaller(t *testing.T) { function TestRedirectStdLogAtPanics (line 220) | func TestRedirectStdLogAtPanics(t *testing.T) { function TestRedirectStdLogAtFatal (line 240) | func TestRedirectStdLogAtFatal(t *testing.T) { function TestRedirectStdLogAtInvalid (line 260) | func TestRedirectStdLogAtInvalid(t *testing.T) { function checkStdLogMessage (line 270) | func checkStdLogMessage(t *testing.T, msg string, logs *observer.Observe... FILE: http_handler.go method ServeHTTP (line 71) | func (lvl AtomicLevel) ServeHTTP(w http.ResponseWriter, r *http.Request) { method serveHTTP (line 78) | func (lvl AtomicLevel) serveHTTP(w http.ResponseWriter, r *http.Request)... function decodePutRequest (line 110) | func decodePutRequest(contentType string, r *http.Request) (zapcore.Leve... function decodePutURL (line 117) | func decodePutURL(r *http.Request) (zapcore.Level, error) { function decodePutJSON (line 129) | func decodePutJSON(body io.Reader) (zapcore.Level, error) { FILE: http_handler_test.go function TestAtomicLevelServeHTTP (line 39) | func TestAtomicLevelServeHTTP(t *testing.T) { function TestAtomicLevelServeHTTPBrokenWriter (line 196) | func TestAtomicLevelServeHTTPBrokenWriter(t *testing.T) { type brokenHTTPResponseWriter (line 212) | type brokenHTTPResponseWriter struct method Write (line 216) | func (w *brokenHTTPResponseWriter) Write([]byte) (int, error) { function TestAtomicLevelServeHTTPBadLevel (line 220) | func TestAtomicLevelServeHTTPBadLevel(t *testing.T) { function FuzzAtomicLevelServeHTTP (line 241) | func FuzzAtomicLevelServeHTTP(f *testing.F) { FILE: increase_level_test.go function newLoggedEntry (line 32) | func newLoggedEntry(level zapcore.Level, msg string, fields ...zapcore.F... function TestIncreaseLevelTryDecrease (line 42) | func TestIncreaseLevelTryDecrease(t *testing.T) { function TestIncreaseLevel (line 68) | func TestIncreaseLevel(t *testing.T) { FILE: internal/color/color.go constant Black (line 28) | Black Color = iota + 30 constant Red (line 29) | Red constant Green (line 30) | Green constant Yellow (line 31) | Yellow constant Blue (line 32) | Blue constant Magenta (line 33) | Magenta constant Cyan (line 34) | Cyan constant White (line 35) | White type Color (line 39) | type Color method Add (line 42) | func (c Color) Add(s string) string { FILE: internal/color/color_test.go function TestColorFormatting (line 29) | func TestColorFormatting(t *testing.T) { FILE: internal/exit/exit.go function With (line 31) | func With(code int) { type StubbedExit (line 36) | type StubbedExit struct method Unstub (line 59) | func (se *StubbedExit) Unstub() { method exit (line 63) | func (se *StubbedExit) exit(code int) { function Stub (line 43) | func Stub() *StubbedExit { function WithStub (line 51) | func WithStub(f func()) *StubbedExit { FILE: internal/exit/exit_test.go function TestStub (line 30) | func TestStub(t *testing.T) { FILE: internal/level_enabler.go type LeveledEnabler (line 33) | type LeveledEnabler interface FILE: internal/pool/pool.go type Pool (line 34) | type Pool struct function New (line 40) | func New[T any](fn func() T) *Pool[T] { method Get (line 51) | func (p *Pool[T]) Get() T { method Put (line 56) | func (p *Pool[T]) Put(x T) { FILE: internal/pool/pool_test.go type pooledValue (line 32) | type pooledValue struct function TestNew (line 36) | func TestNew(t *testing.T) { function TestNew_Race (line 78) | func TestNew_Race(t *testing.T) { FILE: internal/readme/readme.go function main (line 51) | func main() { function do (line 58) | func do() error { function getTmplData (line 74) | func getTmplData() (*tmplData, error) { function getBenchmarkRows (line 94) | func getBenchmarkRows(benchmarkName string) (string, error) { function getBenchmarkRow (line 130) | func getBenchmarkRow( function findUniqueSubstring (line 172) | func findUniqueSubstring(input []string, substring string) (string, erro... function getBenchmarkOutput (line 185) | func getBenchmarkOutput(benchmarkName string) ([]string, error) { type tmplData (line 195) | type tmplData struct type benchmarkRow (line 201) | type benchmarkRow struct method String (line 213) | func (b *benchmarkRow) String() string { type benchmarkRowsByTime (line 229) | type benchmarkRowsByTime method Len (line 231) | func (b benchmarkRowsByTime) Len() int { return len(b) } method Swap (line 232) | func (b benchmarkRowsByTime) Swap(i, j int) { b[i], b[j] = b[j], b[i] } method Less (line 233) | func (b benchmarkRowsByTime) Less(i, j int) bool { FILE: internal/stacktrace/stack.go type Stack (line 40) | type Stack struct method Free (line 113) | func (st *Stack) Free() { method Count (line 121) | func (st *Stack) Count() int { method Next (line 127) | func (st *Stack) Next() (_ runtime.Frame, more bool) { type Depth (line 55) | type Depth constant First (line 59) | First Depth = iota constant Full (line 63) | Full function Capture (line 71) | func Capture(skip int, depth Depth) *Stack { function Take (line 135) | func Take(skip int) string { type Formatter (line 148) | type Formatter struct method FormatStack (line 160) | func (sf *Formatter) FormatStack(stack *Stack) { method FormatFrame (line 170) | func (sf *Formatter) FormatFrame(frame runtime.Frame) { function NewFormatter (line 154) | func NewFormatter(b *buffer.Buffer) Formatter { FILE: internal/stacktrace/stack_test.go function TestTake (line 32) | func TestTake(t *testing.T) { function TestTakeWithSkip (line 44) | func TestTakeWithSkip(t *testing.T) { function TestTakeWithSkipInnerFunc (line 56) | func TestTakeWithSkipInnerFunc(t *testing.T) { function TestTakeDeepStack (line 71) | func TestTakeDeepStack(t *testing.T) { function BenchmarkTake (line 89) | func BenchmarkTake(b *testing.B) { function withStackDepth (line 95) | func withStackDepth(depth int, f func()) { FILE: internal/ztest/clock.go type MockClock (line 34) | type MockClock struct method Now (line 54) | func (c *MockClock) Now() time.Time { method NewTicker (line 68) | func (c *MockClock) NewTicker(d time.Duration) *time.Ticker { method runAt (line 93) | func (c *MockClock) runAt(t time.Time, fn func()) { method Add (line 113) | func (c *MockClock) Add(d time.Duration) { function NewMockClock (line 47) | func NewMockClock() *MockClock { type waiter (line 99) | type waiter struct FILE: internal/ztest/clock_test.go function TestMockClock_NewTicker (line 31) | func TestMockClock_NewTicker(t *testing.T) { function TestMockClock_NewTicker_slowConsumer (line 59) | func TestMockClock_NewTicker_slowConsumer(t *testing.T) { function TestMockClock_Add_negative (line 77) | func TestMockClock_Add_negative(t *testing.T) { FILE: internal/ztest/timeout.go function Timeout (line 33) | func Timeout(base time.Duration) time.Duration { function Sleep (line 38) | func Sleep(base time.Duration) { function Initialize (line 44) | func Initialize(factor string) func() { function init (line 54) | func init() { FILE: internal/ztest/writer.go type Syncer (line 31) | type Syncer struct method SetError (line 37) | func (s *Syncer) SetError(err error) { method Sync (line 43) | func (s *Syncer) Sync() error { method Called (line 49) | func (s *Syncer) Called() bool { type Discarder (line 54) | type Discarder struct method Write (line 57) | func (d *Discarder) Write(b []byte) (int, error) { type FailWriter (line 62) | type FailWriter struct method Write (line 65) | func (w FailWriter) Write(b []byte) (int, error) { type ShortWriter (line 71) | type ShortWriter struct method Write (line 74) | func (w ShortWriter) Write(b []byte) (int, error) { type Buffer (line 81) | type Buffer struct method Lines (line 87) | func (b *Buffer) Lines() []string { method Stripped (line 94) | func (b *Buffer) Stripped() string { FILE: leak_test.go function TestMain (line 29) | func TestMain(m *testing.M) { FILE: level.go constant DebugLevel (line 33) | DebugLevel = zapcore.DebugLevel constant InfoLevel (line 35) | InfoLevel = zapcore.InfoLevel constant WarnLevel (line 38) | WarnLevel = zapcore.WarnLevel constant ErrorLevel (line 41) | ErrorLevel = zapcore.ErrorLevel constant DPanicLevel (line 44) | DPanicLevel = zapcore.DPanicLevel constant PanicLevel (line 46) | PanicLevel = zapcore.PanicLevel constant FatalLevel (line 48) | FatalLevel = zapcore.FatalLevel type LevelEnablerFunc (line 57) | type LevelEnablerFunc method Enabled (line 60) | func (f LevelEnablerFunc) Enabled(lvl zapcore.Level) bool { return f(l... type AtomicLevel (line 71) | type AtomicLevel struct method Enabled (line 112) | func (lvl AtomicLevel) Enabled(l zapcore.Level) bool { method Level (line 117) | func (lvl AtomicLevel) Level() zapcore.Level { method SetLevel (line 122) | func (lvl AtomicLevel) SetLevel(l zapcore.Level) { method String (line 127) | func (lvl AtomicLevel) String() string { method UnmarshalText (line 134) | func (lvl *AtomicLevel) UnmarshalText(text []byte) error { method MarshalText (line 151) | func (lvl AtomicLevel) MarshalText() (text []byte, err error) { function NewAtomicLevel (line 79) | func NewAtomicLevel() AtomicLevel { function NewAtomicLevelAt (line 87) | func NewAtomicLevelAt(l zapcore.Level) AtomicLevel { function ParseAtomicLevel (line 99) | func ParseAtomicLevel(text string) (AtomicLevel, error) { FILE: level_test.go function TestLevelEnablerFunc (line 33) | func TestLevelEnablerFunc(t *testing.T) { function TestNewAtomicLevel (line 52) | func TestNewAtomicLevel(t *testing.T) { function TestParseAtomicLevel (line 61) | func TestParseAtomicLevel(t *testing.T) { function TestAtomicLevelMutation (line 83) | func TestAtomicLevelMutation(t *testing.T) { function TestAtomicLevelText (line 101) | func TestAtomicLevelText(t *testing.T) { FILE: logger.go type Logger (line 41) | type Logger struct method Sugar (line 146) | func (log *Logger) Sugar() *SugaredLogger { method Named (line 154) | func (log *Logger) Named(s string) *Logger { method WithOptions (line 169) | func (log *Logger) WithOptions(opts ...Option) *Logger { method With (line 180) | func (log *Logger) With(fields ...Field) *Logger { method WithLazy (line 202) | func (log *Logger) WithLazy(fields ...Field) *Logger { method Level (line 214) | func (log *Logger) Level() zapcore.Level { method Check (line 221) | func (log *Logger) Check(lvl zapcore.Level, msg string) *zapcore.Check... method Log (line 229) | func (log *Logger) Log(lvl zapcore.Level, msg string, fields ...Field) { method Debug (line 237) | func (log *Logger) Debug(msg string, fields ...Field) { method Info (line 245) | func (log *Logger) Info(msg string, fields ...Field) { method Warn (line 253) | func (log *Logger) Warn(msg string, fields ...Field) { method Error (line 261) | func (log *Logger) Error(msg string, fields ...Field) { method DPanic (line 273) | func (log *Logger) DPanic(msg string, fields ...Field) { method Panic (line 283) | func (log *Logger) Panic(msg string, fields ...Field) { method Fatal (line 294) | func (log *Logger) Fatal(msg string, fields ...Field) { method Sync (line 302) | func (log *Logger) Sync() error { method Core (line 307) | func (log *Logger) Core() zapcore.Core { method Name (line 313) | func (log *Logger) Name() string { method clone (line 317) | func (log *Logger) clone() *Logger { method check (line 322) | func (log *Logger) check(lvl zapcore.Level, msg string) *zapcore.Check... function New (line 69) | func New(core zapcore.Core, options ...Option) *Logger { function NewNop (line 87) | func NewNop() *Logger { function NewProduction (line 100) | func NewProduction(options ...Option) (*Logger, error) { function NewDevelopment (line 108) | func NewDevelopment(options ...Option) (*Logger, error) { function Must (line 117) | func Must(logger *Logger, err error) *Logger { function NewExample (line 129) | func NewExample(options ...Option) *Logger { function terminalHookOverride (line 424) | func terminalHookOverride(defaultHook, override zapcore.CheckWriteHook) ... FILE: logger_bench_test.go type user (line 35) | type user struct method MarshalLogObject (line 41) | func (u *user) MarshalLogObject(enc zapcore.ObjectEncoder) error { function withBenchedLogger (line 54) | func withBenchedLogger(b *testing.B, f func(*Logger)) { function BenchmarkNoContext (line 69) | func BenchmarkNoContext(b *testing.B) { function BenchmarkBoolField (line 75) | func BenchmarkBoolField(b *testing.B) { function BenchmarkByteStringField (line 81) | func BenchmarkByteStringField(b *testing.B) { function BenchmarkFloat64Field (line 88) | func BenchmarkFloat64Field(b *testing.B) { function BenchmarkIntField (line 94) | func BenchmarkIntField(b *testing.B) { function BenchmarkInt64Field (line 100) | func BenchmarkInt64Field(b *testing.B) { function BenchmarkStringField (line 106) | func BenchmarkStringField(b *testing.B) { function BenchmarkStringerField (line 112) | func BenchmarkStringerField(b *testing.B) { function BenchmarkTimeField (line 118) | func BenchmarkTimeField(b *testing.B) { function BenchmarkDurationField (line 125) | func BenchmarkDurationField(b *testing.B) { function BenchmarkErrorField (line 131) | func BenchmarkErrorField(b *testing.B) { function BenchmarkErrorsField (line 138) | func BenchmarkErrorsField(b *testing.B) { function BenchmarkStackField (line 150) | func BenchmarkStackField(b *testing.B) { function BenchmarkObjectField (line 156) | func BenchmarkObjectField(b *testing.B) { function BenchmarkReflectField (line 162) | func BenchmarkReflectField(b *testing.B) { function BenchmarkAddCallerHook (line 168) | func BenchmarkAddCallerHook(b *testing.B) { function BenchmarkAddCallerAndStacktrace (line 185) | func BenchmarkAddCallerAndStacktrace(b *testing.B) { function Benchmark5WithsUsed (line 203) | func Benchmark5WithsUsed(b *testing.B) { function Benchmark5WithsNotUsed (line 209) | func Benchmark5WithsNotUsed(b *testing.B) { function Benchmark5WithLazysUsed (line 213) | func Benchmark5WithLazysUsed(b *testing.B) { function Benchmark5WithLazysNotUsed (line 219) | func Benchmark5WithLazysNotUsed(b *testing.B) { function benchmarkWithUsed (line 223) | func benchmarkWithUsed(b *testing.B, withMethod func(*Logger, ...zapcore... function Benchmark10Fields (line 245) | func Benchmark10Fields(b *testing.B) { function Benchmark100Fields (line 262) | func Benchmark100Fields(b *testing.B) { function BenchmarkAny (line 287) | func BenchmarkAny(b *testing.B) { FILE: logger_test.go function makeCountingHook (line 40) | func makeCountingHook() (func(zapcore.Entry) error, *atomic.Int64) { function TestLoggerAtomicLevel (line 49) | func TestLoggerAtomicLevel(t *testing.T) { function TestLoggerLevel (line 88) | func TestLoggerLevel(t *testing.T) { function TestLoggerInitialFields (line 115) | func TestLoggerInitialFields(t *testing.T) { function TestLoggerWith (line 128) | func TestLoggerWith(t *testing.T) { function TestLoggerWithCaptures (line 178) | func TestLoggerWithCaptures(t *testing.T) { function TestLoggerLogPanic (line 375) | func TestLoggerLogPanic(t *testing.T) { function TestLoggerLogFatal (line 405) | func TestLoggerLogFatal(t *testing.T) { function TestLoggerLeveledMethods (line 432) | func TestLoggerLeveledMethods(t *testing.T) { function TestLoggerLogLevels (line 458) | func TestLoggerLogLevels(t *testing.T) { function TestLoggerAlwaysPanics (line 481) | func TestLoggerAlwaysPanics(t *testing.T) { function TestLoggerAlwaysFatals (line 497) | func TestLoggerAlwaysFatals(t *testing.T) { function TestLoggerDPanic (line 518) | func TestLoggerDPanic(t *testing.T) { function TestLoggerNoOpsDisabledLevels (line 539) | func TestLoggerNoOpsDisabledLevels(t *testing.T) { function TestLoggerNames (line 551) | func TestLoggerNames(t *testing.T) { function TestLoggerWriteFailure (line 590) | func TestLoggerWriteFailure(t *testing.T) { function TestLoggerSync (line 607) | func TestLoggerSync(t *testing.T) { function TestLoggerSyncFail (line 614) | func TestLoggerSyncFail(t *testing.T) { function TestLoggerAddCaller (line 627) | func TestLoggerAddCaller(t *testing.T) { function TestLoggerAddCallerFunction (line 659) | func TestLoggerAddCallerFunction(t *testing.T) { function TestLoggerAddCallerFail (line 739) | func TestLoggerAddCallerFail(t *testing.T) { function TestLoggerReplaceCore (line 762) | func TestLoggerReplaceCore(t *testing.T) { function TestLoggerIncreaseLevel (line 774) | func TestLoggerIncreaseLevel(t *testing.T) { function TestLoggerHooks (line 789) | func TestLoggerHooks(t *testing.T) { function TestLoggerConcurrent (line 798) | func TestLoggerConcurrent(t *testing.T) { function TestLoggerFatalOnNoop (line 828) | func TestLoggerFatalOnNoop(t *testing.T) { function TestLoggerCustomOnPanic (line 839) | func TestLoggerCustomOnPanic(t *testing.T) { function TestLoggerCustomOnFatal (line 963) | func TestLoggerCustomOnFatal(t *testing.T) { type customWriteHook (line 1007) | type customWriteHook struct method OnWrite (line 1011) | func (h *customWriteHook) OnWrite(_ *zapcore.CheckedEntry, _ []Field) { function TestLoggerWithFatalHook (line 1015) | func TestLoggerWithFatalHook(t *testing.T) { function TestNopLogger (line 1024) | func TestNopLogger(t *testing.T) { function TestMust (line 1045) | func TestMust(t *testing.T) { function infoLog (line 1055) | func infoLog(logger *Logger, msg string, fields ...Field) { function infoLogSugared (line 1059) | func infoLogSugared(logger *SugaredLogger, args ...interface{}) { FILE: options.go type Option (line 30) | type Option interface type optionFunc (line 35) | type optionFunc method apply (line 37) | func (f optionFunc) apply(log *Logger) { function WrapCore (line 42) | func WrapCore(f func(zapcore.Core) zapcore.Core) Option { function Hooks (line 55) | func Hooks(hooks ...func(zapcore.Entry) error) Option { function Fields (line 62) | func Fields(fs ...Field) Option { function ErrorOutput (line 75) | func ErrorOutput(w zapcore.WriteSyncer) Option { function Development (line 83) | func Development() Option { function AddCaller (line 91) | func AddCaller() Option { function WithCaller (line 98) | func WithCaller(enabled bool) Option { function AddCallerSkip (line 108) | func AddCallerSkip(skip int) Option { function AddStacktrace (line 116) | func AddStacktrace(lvl zapcore.LevelEnabler) Option { function IncreaseLevel (line 124) | func IncreaseLevel(lvl zapcore.LevelEnabler) Option { function WithPanicHook (line 148) | func WithPanicHook(hook zapcore.CheckWriteHook) Option { function OnFatal (line 157) | func OnFatal(action zapcore.CheckWriteAction) Option { function WithFatalHook (line 174) | func WithFatalHook(hook zapcore.CheckWriteHook) Option { function WithClock (line 182) | func WithClock(clock zapcore.Clock) Option { FILE: sink.go constant schemeFile (line 36) | schemeFile = "file" type Sink (line 41) | type Sink interface type errSinkNotFound (line 46) | type errSinkNotFound struct method Error (line 50) | func (e *errSinkNotFound) Error() string { type nopCloserSink (line 54) | type nopCloserSink struct method Close (line 56) | func (nopCloserSink) Close() error { return nil } type sinkRegistry (line 58) | type sinkRegistry struct method RegisterSink (line 75) | func (sr *sinkRegistry) RegisterSink(scheme string, factory func(*url.... method newSink (line 93) | func (sr *sinkRegistry) newSink(rawURL string) (Sink, error) { method newFileSinkFromURL (line 130) | func (sr *sinkRegistry) newFileSinkFromURL(u *url.URL) (Sink, error) { method newFileSinkFromPath (line 151) | func (sr *sinkRegistry) newFileSinkFromPath(path string) (Sink, error) { function newSinkRegistry (line 64) | func newSinkRegistry() *sinkRegistry { function RegisterSink (line 126) | func RegisterSink(scheme string, factory func(*url.URL) (Sink, error)) e... function normalizeScheme (line 161) | func normalizeScheme(s string) (string, error) { FILE: sink_test.go function stubSinkRegistry (line 36) | func stubSinkRegistry(t testing.TB) *sinkRegistry { function TestRegisterSink (line 47) | func TestRegisterSink(t *testing.T) { function TestRegisterSinkErrors (line 86) | func TestRegisterSinkErrors(t *testing.T) { FILE: sink_windows_test.go function TestWindowsPaths (line 32) | func TestWindowsPaths(t *testing.T) { FILE: stacktrace_ext_test.go function TestStacktraceFiltersZapLog (line 49) | func TestStacktraceFiltersZapLog(t *testing.T) { function TestStacktraceFiltersZapMarshal (line 59) | func TestStacktraceFiltersZapMarshal(t *testing.T) { function TestStacktraceFiltersVendorZap (line 86) | func TestStacktraceFiltersVendorZap(t *testing.T) { function TestStacktraceWithoutCallerSkip (line 122) | func TestStacktraceWithoutCallerSkip(t *testing.T) { function TestStacktraceWithCallerSkip (line 133) | func TestStacktraceWithCallerSkip(t *testing.T) { function withLogger (line 148) | func withLogger(t *testing.T, fn func(logger *zap.Logger, out *bytes.Buf... function verifyNoZap (line 156) | func verifyNoZap(t *testing.T, logs string) { function withGoPath (line 162) | func withGoPath(t *testing.T, f func(goPath string)) { function getSelfFilename (line 169) | func getSelfFilename(t *testing.T) string { function setupSymlink (line 176) | func setupSymlink(t *testing.T, src, dst string) { type dependency (line 188) | type dependency struct function downloadDependencies (line 195) | func downloadDependencies(t *testing.T) []dependency { FILE: sugar.go constant _oddNumberErrMsg (line 32) | _oddNumberErrMsg = "Ignored key without a value." constant _nonStringKeyErrMsg (line 33) | _nonStringKeyErrMsg = "Ignored key-value pairs with non-string keys." constant _multipleErrMsg (line 34) | _multipleErrMsg = "Multiple errors without a key." type SugaredLogger (line 55) | type SugaredLogger struct method Desugar (line 63) | func (s *SugaredLogger) Desugar() *Logger { method Named (line 70) | func (s *SugaredLogger) Named(name string) *SugaredLogger { method WithOptions (line 76) | func (s *SugaredLogger) WithOptions(opts ...Option) *SugaredLogger { method With (line 114) | func (s *SugaredLogger) With(args ...interface{}) *SugaredLogger { method WithLazy (line 129) | func (s *SugaredLogger) WithLazy(args ...interface{}) *SugaredLogger { method Level (line 136) | func (s *SugaredLogger) Level() zapcore.Level { method Log (line 142) | func (s *SugaredLogger) Log(lvl zapcore.Level, args ...interface{}) { method Debug (line 148) | func (s *SugaredLogger) Debug(args ...interface{}) { method Info (line 154) | func (s *SugaredLogger) Info(args ...interface{}) { method Warn (line 160) | func (s *SugaredLogger) Warn(args ...interface{}) { method Error (line 166) | func (s *SugaredLogger) Error(args ...interface{}) { method DPanic (line 173) | func (s *SugaredLogger) DPanic(args ...interface{}) { method Panic (line 179) | func (s *SugaredLogger) Panic(args ...interface{}) { method Fatal (line 185) | func (s *SugaredLogger) Fatal(args ...interface{}) { method Logf (line 191) | func (s *SugaredLogger) Logf(lvl zapcore.Level, template string, args ... method Debugf (line 197) | func (s *SugaredLogger) Debugf(template string, args ...interface{}) { method Infof (line 203) | func (s *SugaredLogger) Infof(template string, args ...interface{}) { method Warnf (line 209) | func (s *SugaredLogger) Warnf(template string, args ...interface{}) { method Errorf (line 215) | func (s *SugaredLogger) Errorf(template string, args ...interface{}) { method DPanicf (line 222) | func (s *SugaredLogger) DPanicf(template string, args ...interface{}) { method Panicf (line 228) | func (s *SugaredLogger) Panicf(template string, args ...interface{}) { method Fatalf (line 234) | func (s *SugaredLogger) Fatalf(template string, args ...interface{}) { method Logw (line 240) | func (s *SugaredLogger) Logw(lvl zapcore.Level, msg string, keysAndVal... method Debugw (line 250) | func (s *SugaredLogger) Debugw(msg string, keysAndValues ...interface{... method Infow (line 256) | func (s *SugaredLogger) Infow(msg string, keysAndValues ...interface{}) { method Warnw (line 262) | func (s *SugaredLogger) Warnw(msg string, keysAndValues ...interface{}) { method Errorw (line 268) | func (s *SugaredLogger) Errorw(msg string, keysAndValues ...interface{... method DPanicw (line 275) | func (s *SugaredLogger) DPanicw(msg string, keysAndValues ...interface... method Panicw (line 281) | func (s *SugaredLogger) Panicw(msg string, keysAndValues ...interface{... method Fatalw (line 287) | func (s *SugaredLogger) Fatalw(msg string, keysAndValues ...interface{... method Logln (line 293) | func (s *SugaredLogger) Logln(lvl zapcore.Level, args ...interface{}) { method Debugln (line 299) | func (s *SugaredLogger) Debugln(args ...interface{}) { method Infoln (line 305) | func (s *SugaredLogger) Infoln(args ...interface{}) { method Warnln (line 311) | func (s *SugaredLogger) Warnln(args ...interface{}) { method Errorln (line 317) | func (s *SugaredLogger) Errorln(args ...interface{}) { method DPanicln (line 324) | func (s *SugaredLogger) DPanicln(args ...interface{}) { method Panicln (line 330) | func (s *SugaredLogger) Panicln(args ...interface{}) { method Fatalln (line 336) | func (s *SugaredLogger) Fatalln(args ...interface{}) { method Sync (line 341) | func (s *SugaredLogger) Sync() error { method log (line 346) | func (s *SugaredLogger) log(lvl zapcore.Level, template string, fmtArg... method logln (line 360) | func (s *SugaredLogger) logln(lvl zapcore.Level, fmtArgs []interface{}... method sweetenFields (line 395) | func (s *SugaredLogger) sweetenFields(args []interface{}) []Field { function getMessage (line 372) | func getMessage(template string, fmtArgs []interface{}) string { function getMessageln (line 390) | func getMessageln(fmtArgs []interface{}) string { type invalidPair (line 456) | type invalidPair struct method MarshalLogObject (line 461) | func (p invalidPair) MarshalLogObject(enc zapcore.ObjectEncoder) error { type invalidPairs (line 468) | type invalidPairs method MarshalLogArray (line 470) | func (ps invalidPairs) MarshalLogArray(enc zapcore.ArrayEncoder) error { FILE: sugar_test.go function TestSugarWith (line 38) | func TestSugarWith(t *testing.T) { function TestSugarWithCaptures (line 165) | func TestSugarWithCaptures(t *testing.T) { function TestSugaredLoggerLevel (line 241) | func TestSugaredLoggerLevel(t *testing.T) { function TestSugarFieldsInvalidPairs (line 270) | func TestSugarFieldsInvalidPairs(t *testing.T) { function TestSugarStructuredLogging (line 290) | func TestSugarStructuredLogging(t *testing.T) { function TestSugarConcatenatingLogging (line 328) | func TestSugarConcatenatingLogging(t *testing.T) { function TestSugarTemplatedLogging (line 361) | func TestSugarTemplatedLogging(t *testing.T) { function TestSugarLnLogging (line 398) | func TestSugarLnLogging(t *testing.T) { function TestSugarLnLoggingIgnored (line 435) | func TestSugarLnLoggingIgnored(t *testing.T) { function TestSugarPanicLogging (line 442) | func TestSugarPanicLogging(t *testing.T) { function TestSugarFatalLogging (line 477) | func TestSugarFatalLogging(t *testing.T) { function TestSugarAddCaller (line 513) | func TestSugarAddCaller(t *testing.T) { function TestSugarAddCallerFail (line 538) | func TestSugarAddCallerFail(t *testing.T) { function TestSugarWithOptionsIncreaseLevel (line 556) | func TestSugarWithOptionsIncreaseLevel(t *testing.T) { function TestSugarLnWithOptionsIncreaseLevel (line 572) | func TestSugarLnWithOptionsIncreaseLevel(t *testing.T) { function BenchmarkSugarSingleStrArg (line 588) | func BenchmarkSugarSingleStrArg(b *testing.B) { function BenchmarkLnSugarSingleStrArg (line 596) | func BenchmarkLnSugarSingleStrArg(b *testing.B) { FILE: time.go function timeToMillis (line 25) | func timeToMillis(t time.Time) int64 { FILE: time_test.go function TestTimeToMillis (line 30) | func TestTimeToMillis(t *testing.T) { FILE: writer.go function Open (line 50) | func Open(paths ...string) (zapcore.WriteSyncer, func(), error) { function open (line 60) | func open(paths []string) ([]zapcore.WriteSyncer, func(), error) { function CombineWriteSyncers (line 93) | func CombineWriteSyncers(writers ...zapcore.WriteSyncer) zapcore.WriteSy... FILE: writer_test.go function TestOpenNoPaths (line 38) | func TestOpenNoPaths(t *testing.T) { function TestOpen (line 51) | func TestOpen(t *testing.T) { function TestOpenPathsNotFound (line 96) | func TestOpenPathsNotFound(t *testing.T) { function TestOpenRelativePath (line 142) | func TestOpenRelativePath(t *testing.T) { function TestOpenFails (line 162) | func TestOpenFails(t *testing.T) { function TestOpenOtherErrors (line 179) | func TestOpenOtherErrors(t *testing.T) { type testWriter (line 227) | type testWriter struct method Write (line 232) | func (w *testWriter) Write(actual []byte) (int, error) { method Sync (line 237) | func (w *testWriter) Sync() error { function TestOpenWithErroringSinkFactory (line 241) | func TestOpenWithErroringSinkFactory(t *testing.T) { function TestCombineWriteSyncers (line 254) | func TestCombineWriteSyncers(t *testing.T) { function fileExists (line 261) | func fileExists(name string) bool { FILE: zapcore/buffered_write_syncer.go constant _defaultBufferSize (line 33) | _defaultBufferSize = 256 * 1024 constant _defaultFlushInterval (line 37) | _defaultFlushInterval = 30 * time.Second type BufferedWriteSyncer (line 77) | type BufferedWriteSyncer struct method initialize (line 112) | func (s *BufferedWriteSyncer) initialize() { method Write (line 137) | func (s *BufferedWriteSyncer) Write(bs []byte) (int, error) { method Sync (line 158) | func (s *BufferedWriteSyncer) Sync() error { method flushLoop (line 172) | func (s *BufferedWriteSyncer) flushLoop() { method Stop (line 190) | func (s *BufferedWriteSyncer) Stop() (err error) { FILE: zapcore/buffered_write_syncer_bench_test.go function BenchmarkBufferedWriteSyncer (line 31) | func BenchmarkBufferedWriteSyncer(b *testing.B) { FILE: zapcore/buffered_write_syncer_test.go function TestBufferWriter (line 33) | func TestBufferWriter(t *testing.T) { function TestBufferWriterWithoutStart (line 138) | func TestBufferWriterWithoutStart(t *testing.T) { FILE: zapcore/clock.go type Clock (line 30) | type Clock interface type systemClock (line 40) | type systemClock struct method Now (line 42) | func (systemClock) Now() time.Time { method NewTicker (line 46) | func (systemClock) NewTicker(duration time.Duration) *time.Ticker { FILE: zapcore/clock_test.go function TestSystemClock_NewTicker (line 33) | func TestSystemClock_NewTicker(t *testing.T) { FILE: zapcore/console_encoder.go function getSliceEncoder (line 37) | func getSliceEncoder() *sliceArrayEncoder { function putSliceEncoder (line 41) | func putSliceEncoder(e *sliceArrayEncoder) { type consoleEncoder (line 46) | type consoleEncoder struct method Clone (line 66) | func (c consoleEncoder) Clone() Encoder { method EncodeEntry (line 70) | func (c consoleEncoder) EncodeEntry(ent Entry, fields []Field) (*buffe... method writeContext (line 132) | func (c consoleEncoder) writeContext(line *buffer.Buffer, extra []Fiel... method addSeparatorIfNecessary (line 153) | func (c consoleEncoder) addSeparatorIfNecessary(line *buffer.Buffer) { function NewConsoleEncoder (line 58) | func NewConsoleEncoder(cfg EncoderConfig) Encoder { FILE: zapcore/console_encoder_bench_test.go function BenchmarkZapConsole (line 30) | func BenchmarkZapConsole(b *testing.B) { FILE: zapcore/console_encoder_test.go function TestConsoleEncodeEntry (line 40) | func TestConsoleEncodeEntry(t *testing.T) { function TestConsoleSeparator (line 84) | func TestConsoleSeparator(t *testing.T) { function encoderTestEncoderConfig (line 131) | func encoderTestEncoderConfig(separator string) EncoderConfig { FILE: zapcore/core.go type Core (line 25) | type Core interface type nopCore (line 47) | type nopCore struct method Enabled (line 51) | func (nopCore) Enabled(Level) bool { return... method With (line 52) | func (n nopCore) With([]Field) Core { return... method Check (line 53) | func (nopCore) Check(_ Entry, ce *CheckedEntry) *CheckedEntry { return... method Write (line 54) | func (nopCore) Write(Entry, []Field) error { return... method Sync (line 55) | func (nopCore) Sync() error { return... function NewNopCore (line 50) | func NewNopCore() Core { return n... function NewCore (line 58) | func NewCore(enc Encoder, ws WriteSyncer, enab LevelEnabler) Core { type ioCore (line 66) | type ioCore struct method Level (line 77) | func (c *ioCore) Level() Level { method With (line 81) | func (c *ioCore) With(fields []Field) Core { method Check (line 87) | func (c *ioCore) Check(ent Entry, ce *CheckedEntry) *CheckedEntry { method Write (line 94) | func (c *ioCore) Write(ent Entry, fields []Field) error { method Sync (line 112) | func (c *ioCore) Sync() error { method clone (line 116) | func (c *ioCore) clone() *ioCore { FILE: zapcore/core_test.go function makeInt64Field (line 37) | func makeInt64Field(key string, val int) Field { function TestNopCore (line 41) | func TestNopCore(t *testing.T) { function TestIOCore (line 70) | func TestIOCore(t *testing.T) { function TestIOCoreSyncFail (line 111) | func TestIOCoreSyncFail(t *testing.T) { function TestIOCoreSyncsOutput (line 130) | func TestIOCoreSyncsOutput(t *testing.T) { function TestIOCoreWriteFailure (line 157) | func TestIOCoreWriteFailure(t *testing.T) { FILE: zapcore/encoder.go constant DefaultLineEnding (line 34) | DefaultLineEnding = "\n" constant OmitKey (line 37) | OmitKey = "" type LevelEncoder (line 43) | type LevelEncoder method UnmarshalText (line 81) | func (e *LevelEncoder) UnmarshalText(text []byte) error { function LowercaseLevelEncoder (line 47) | func LowercaseLevelEncoder(l Level, enc PrimitiveArrayEncoder) { function LowercaseColorLevelEncoder (line 53) | func LowercaseColorLevelEncoder(l Level, enc PrimitiveArrayEncoder) { function CapitalLevelEncoder (line 63) | func CapitalLevelEncoder(l Level, enc PrimitiveArrayEncoder) { function CapitalColorLevelEncoder (line 69) | func CapitalColorLevelEncoder(l Level, enc PrimitiveArrayEncoder) { type TimeEncoder (line 99) | type TimeEncoder method UnmarshalText (line 177) | func (e *TimeEncoder) UnmarshalText(text []byte) error { method UnmarshalYAML (line 204) | func (e *TimeEncoder) UnmarshalYAML(unmarshal func(interface{}) error)... method UnmarshalJSON (line 221) | func (e *TimeEncoder) UnmarshalJSON(data []byte) error { function EpochTimeEncoder (line 103) | func EpochTimeEncoder(t time.Time, enc PrimitiveArrayEncoder) { function EpochMillisTimeEncoder (line 111) | func EpochMillisTimeEncoder(t time.Time, enc PrimitiveArrayEncoder) { function EpochNanosTimeEncoder (line 119) | func EpochNanosTimeEncoder(t time.Time, enc PrimitiveArrayEncoder) { function encodeTimeLayout (line 123) | func encodeTimeLayout(t time.Time, layout string, enc PrimitiveArrayEnco... function ISO8601TimeEncoder (line 141) | func ISO8601TimeEncoder(t time.Time, enc PrimitiveArrayEncoder) { function RFC3339TimeEncoder (line 149) | func RFC3339TimeEncoder(t time.Time, enc PrimitiveArrayEncoder) { function RFC3339NanoTimeEncoder (line 158) | func RFC3339NanoTimeEncoder(t time.Time, enc PrimitiveArrayEncoder) { function TimeEncoderOfLayout (line 164) | func TimeEncoderOfLayout(layout string) TimeEncoder { type DurationEncoder (line 231) | type DurationEncoder method UnmarshalText (line 259) | func (e *DurationEncoder) UnmarshalText(text []byte) error { function SecondsDurationEncoder (line 234) | func SecondsDurationEncoder(d time.Duration, enc PrimitiveArrayEncoder) { function NanosDurationEncoder (line 240) | func NanosDurationEncoder(d time.Duration, enc PrimitiveArrayEncoder) { function MillisDurationEncoder (line 246) | func MillisDurationEncoder(d time.Duration, enc PrimitiveArrayEncoder) { function StringDurationEncoder (line 252) | func StringDurationEncoder(d time.Duration, enc PrimitiveArrayEncoder) { type CallerEncoder (line 277) | type CallerEncoder method UnmarshalText (line 295) | func (e *CallerEncoder) UnmarshalText(text []byte) error { function FullCallerEncoder (line 281) | func FullCallerEncoder(caller EntryCaller, enc PrimitiveArrayEncoder) { function ShortCallerEncoder (line 288) | func ShortCallerEncoder(caller EntryCaller, enc PrimitiveArrayEncoder) { type NameEncoder (line 310) | type NameEncoder method UnmarshalText (line 319) | func (e *NameEncoder) UnmarshalText(text []byte) error { function FullNameEncoder (line 313) | func FullNameEncoder(loggerName string, enc PrimitiveArrayEncoder) { type EncoderConfig (line 331) | type EncoderConfig struct type ObjectEncoder (line 364) | type ObjectEncoder interface type ArrayEncoder (line 405) | type ArrayEncoder interface type PrimitiveArrayEncoder (line 425) | type PrimitiveArrayEncoder interface type Encoder (line 455) | type Encoder interface FILE: zapcore/encoder_test.go function testEncoderConfig (line 49) | func testEncoderConfig() EncoderConfig { function humanEncoderConfig (line 66) | func humanEncoderConfig() EncoderConfig { function capitalNameEncoder (line 74) | func capitalNameEncoder(loggerName string, enc PrimitiveArrayEncoder) { function TestEncoderConfiguration (line 78) | func TestEncoderConfiguration(t *testing.T) { function TestLevelEncoders (line 564) | func TestLevelEncoders(t *testing.T) { function TestTimeEncoders (line 587) | func TestTimeEncoders(t *testing.T) { function TestTimeEncodersWrongYAML (line 619) | func TestTimeEncodersWrongYAML(t *testing.T) { function TestTimeEncodersParseFromJSON (line 630) | func TestTimeEncodersParseFromJSON(t *testing.T) { function TestDurationEncoders (line 653) | func TestDurationEncoders(t *testing.T) { function TestCallerEncoders (line 678) | func TestCallerEncoders(t *testing.T) { function TestNameEncoders (line 702) | func TestNameEncoders(t *testing.T) { function assertAppended (line 724) | func assertAppended(t testing.TB, expected interface{}, f func(ArrayEnco... FILE: zapcore/entry.go function getCheckedEntry (line 42) | func getCheckedEntry() *CheckedEntry { function putCheckedEntry (line 48) | func putCheckedEntry(ce *CheckedEntry) { function NewEntryCaller (line 57) | func NewEntryCaller(pc uintptr, file string, line int, ok bool) EntryCal... type EntryCaller (line 70) | type EntryCaller struct method String (line 79) | func (ec EntryCaller) String() string { method FullPath (line 85) | func (ec EntryCaller) FullPath() string { method TrimmedPath (line 100) | func (ec EntryCaller) TrimmedPath() string { type Entry (line 143) | type Entry struct type CheckWriteHook (line 164) | type CheckWriteHook interface type CheckWriteAction (line 175) | type CheckWriteAction method OnWrite (line 191) | func (a CheckWriteAction) OnWrite(ce *CheckedEntry, _ []Field) { constant WriteThenNoop (line 180) | WriteThenNoop CheckWriteAction = iota constant WriteThenGoexit (line 182) | WriteThenGoexit constant WriteThenPanic (line 184) | WriteThenPanic constant WriteThenFatal (line 186) | WriteThenFatal type CheckPreWriteHook (line 210) | type CheckPreWriteHook type CheckedEntry (line 218) | type CheckedEntry struct method reset (line 227) | func (ce *CheckedEntry) reset() { method Write (line 246) | func (ce *CheckedEntry) Write(fields ...Field) { method AddCore (line 298) | func (ce *CheckedEntry) AddCore(ent Entry, core Core) *CheckedEntry { method Should (line 312) | func (ce *CheckedEntry) Should(ent Entry, should CheckWriteAction) *Ch... method Before (line 319) | func (ce *CheckedEntry) Before(ent Entry, hook CheckPreWriteHook) *Che... method After (line 331) | func (ce *CheckedEntry) After(ent Entry, hook CheckWriteHook) *Checked... FILE: zapcore/entry_ext_test.go function TestCheckedEntryIllegalReuse (line 34) | func TestCheckedEntryIllegalReuse(t *testing.T) { FILE: zapcore/entry_test.go function assertGoexit (line 32) | func assertGoexit(t *testing.T, f func()) { function TestPutNilEntry (line 48) | func TestPutNilEntry(t *testing.T) { function TestEntryCaller (line 76) | func TestEntryCaller(t *testing.T) { function TestCheckedEntryWrite (line 106) | func TestCheckedEntryWrite(t *testing.T) { type customHook (line 143) | type customHook struct method OnWrite (line 147) | func (c *customHook) OnWrite(_ *CheckedEntry, _ []Field) { function TestCheckedEntryBefore (line 151) | func TestCheckedEntryBefore(t *testing.T) { type recordingCore (line 215) | type recordingCore struct method Enabled (line 220) | func (c *recordingCore) Enabled(Level) bool ... method With (line 221) | func (c *recordingCore) With([]Field) Core ... method Check (line 222) | func (c *recordingCore) Check(ent Entry, ce *CheckedEntry) *CheckedEnt... method Sync (line 223) | func (c *recordingCore) Sync() error ... method Write (line 224) | func (c *recordingCore) Write(ent Entry, fields []Field) error { FILE: zapcore/error.go function encodeError (line 47) | func encodeError(key string, err error, enc ObjectEncoder) (retErr error) { type errorGroup (line 81) | type errorGroup interface type errArray (line 92) | type errArray method MarshalLogArray (line 94) | func (errs errArray) MarshalLogArray(arr ArrayEncoder) error { type errArrayElem (line 117) | type errArrayElem struct method MarshalLogArray (line 125) | func (e *errArrayElem) MarshalLogArray(arr ArrayEncoder) error { method MarshalLogObject (line 129) | func (e *errArrayElem) MarshalLogObject(enc ObjectEncoder) error { method Free (line 133) | func (e *errArrayElem) Free() { function newErrArrayElem (line 119) | func newErrArrayElem(err error) *errArrayElem { FILE: zapcore/error_test.go type errTooManyUsers (line 36) | type errTooManyUsers method Error (line 38) | func (e errTooManyUsers) Error() string { method Format (line 42) | func (e errTooManyUsers) Format(s fmt.State, verb rune) { type errTooFewUsers (line 50) | type errTooFewUsers method Error (line 52) | func (e errTooFewUsers) Error() string { method Format (line 56) | func (e errTooFewUsers) Format(s fmt.State, verb rune) { type customMultierr (line 63) | type customMultierr struct method Error (line 65) | func (e customMultierr) Error() string { method Errors (line 69) | func (e customMultierr) Errors() []error { function TestErrorEncoding (line 80) | func TestErrorEncoding(t *testing.T) { function TestRichErrorSupport (line 171) | func TestRichErrorSupport(t *testing.T) { function TestErrArrayBrokenEncoder (line 182) | func TestErrArrayBrokenEncoder(t *testing.T) { type brokenArrayObjectEncoder (line 209) | type brokenArrayObjectEncoder struct method AddArray (line 216) | func (enc brokenArrayObjectEncoder) AddArray(key string, marshaler Arr... method AppendObject (line 224) | func (enc brokenArrayObjectEncoder) AppendObject(ObjectMarshaler) error { FILE: zapcore/field.go type FieldType (line 33) | type FieldType constant UnknownType (line 37) | UnknownType FieldType = iota constant ArrayMarshalerType (line 39) | ArrayMarshalerType constant ObjectMarshalerType (line 41) | ObjectMarshalerType constant BinaryType (line 43) | BinaryType constant BoolType (line 45) | BoolType constant ByteStringType (line 47) | ByteStringType constant Complex128Type (line 49) | Complex128Type constant Complex64Type (line 51) | Complex64Type constant DurationType (line 53) | DurationType constant Float64Type (line 55) | Float64Type constant Float32Type (line 57) | Float32Type constant Int64Type (line 59) | Int64Type constant Int32Type (line 61) | Int32Type constant Int16Type (line 63) | Int16Type constant Int8Type (line 65) | Int8Type constant StringType (line 67) | StringType constant TimeType (line 70) | TimeType constant TimeFullType (line 72) | TimeFullType constant Uint64Type (line 74) | Uint64Type constant Uint32Type (line 76) | Uint32Type constant Uint16Type (line 78) | Uint16Type constant Uint8Type (line 80) | Uint8Type constant UintptrType (line 82) | UintptrType constant ReflectType (line 85) | ReflectType constant NamespaceType (line 88) | NamespaceType constant StringerType (line 90) | StringerType constant ErrorType (line 92) | ErrorType constant SkipType (line 94) | SkipType constant InlineMarshalerType (line 98) | InlineMarshalerType type Field (line 104) | type Field struct method AddTo (line 114) | func (f Field) AddTo(enc ObjectEncoder) { method Equals (line 190) | func (f Field) Equals(other Field) bool { function addFields (line 208) | func addFields(enc ObjectEncoder, fields []Field) { function encodeStringer (line 214) | func encodeStringer(key string, stringer interface{}, enc ObjectEncoder)... FILE: zapcore/field_test.go type users (line 39) | type users method String (line 41) | func (u users) String() string { method MarshalLogObject (line 45) | func (u users) MarshalLogObject(enc ObjectEncoder) error { method MarshalLogArray (line 53) | func (u users) MarshalLogArray(enc ArrayEncoder) error { type obj (line 63) | type obj struct method String (line 67) | func (o *obj) String() string { type errObj (line 85) | type errObj struct method Error (line 90) | func (eobj *errObj) Error() string { function TestUnknownFieldType (line 97) | func TestUnknownFieldType(t *testing.T) { function TestFieldAddingError (line 105) | func TestFieldAddingError(t *testing.T) { function TestFields (line 131) | func TestFields(t *testing.T) { function TestInlineMarshaler (line 185) | func TestInlineMarshaler(t *testing.T) { function TestEquals (line 206) | func TestEquals(t *testing.T) { FILE: zapcore/hook.go type hooked (line 25) | type hooked struct method Level (line 48) | func (h *hooked) Level() Level { method Check (line 52) | func (h *hooked) Check(ent Entry, ce *CheckedEntry) *CheckedEntry { method With (line 62) | func (h *hooked) With(fields []Field) Core { method Write (line 69) | func (h *hooked) Write(ent Entry, _ []Field) error { function RegisterHooks (line 40) | func RegisterHooks(core Core, hooks ...func(Entry) error) Core { FILE: zapcore/hook_test.go function TestHooks (line 34) | func TestHooks(t *testing.T) { FILE: zapcore/increase_level.go type levelFilterCore (line 25) | type levelFilterCore struct method Enabled (line 49) | func (c *levelFilterCore) Enabled(lvl Level) bool { method Level (line 53) | func (c *levelFilterCore) Level() Level { method With (line 57) | func (c *levelFilterCore) With(fields []Field) Core { method Check (line 61) | func (c *levelFilterCore) Check(ent Entry, ce *CheckedEntry) *CheckedE... method Write (line 69) | func (c *levelFilterCore) Write(ent Entry, fields []Field) error { method Sync (line 73) | func (c *levelFilterCore) Sync() error { function NewIncreaseLevelCore (line 39) | func NewIncreaseLevelCore(core Core, level LevelEnabler) (Core, error) { FILE: zapcore/increase_level_test.go function TestIncreaseLevel (line 36) | func TestIncreaseLevel(t *testing.T) { FILE: zapcore/json_encoder.go constant _hex (line 35) | _hex = "0123456789abcdef" function putJSONEncoder (line 41) | func putJSONEncoder(enc *jsonEncoder) { type jsonEncoder (line 54) | type jsonEncoder struct method AddArray (line 100) | func (enc *jsonEncoder) AddArray(key string, arr ArrayMarshaler) error { method AddObject (line 105) | func (enc *jsonEncoder) AddObject(key string, obj ObjectMarshaler) err... method AddBinary (line 110) | func (enc *jsonEncoder) AddBinary(key string, val []byte) { method AddByteString (line 114) | func (enc *jsonEncoder) AddByteString(key string, val []byte) { method AddBool (line 119) | func (enc *jsonEncoder) AddBool(key string, val bool) { method AddComplex128 (line 124) | func (enc *jsonEncoder) AddComplex128(key string, val complex128) { method AddComplex64 (line 129) | func (enc *jsonEncoder) AddComplex64(key string, val complex64) { method AddDuration (line 134) | func (enc *jsonEncoder) AddDuration(key string, val time.Duration) { method AddFloat64 (line 139) | func (enc *jsonEncoder) AddFloat64(key string, val float64) { method AddFloat32 (line 144) | func (enc *jsonEncoder) AddFloat32(key string, val float32) { method AddInt64 (line 149) | func (enc *jsonEncoder) AddInt64(key string, val int64) { method resetReflectBuf (line 154) | func (enc *jsonEncoder) resetReflectBuf() { method encodeReflected (line 167) | func (enc *jsonEncoder) encodeReflected(obj interface{}) ([]byte, erro... method AddReflected (line 179) | func (enc *jsonEncoder) AddReflected(key string, obj interface{}) error { method OpenNamespace (line 189) | func (enc *jsonEncoder) OpenNamespace(key string) { method AddString (line 195) | func (enc *jsonEncoder) AddString(key, val string) { method AddTime (line 200) | func (enc *jsonEncoder) AddTime(key string, val time.Time) { method AddUint64 (line 205) | func (enc *jsonEncoder) AddUint64(key string, val uint64) { method AppendArray (line 210) | func (enc *jsonEncoder) AppendArray(arr ArrayMarshaler) error { method AppendObject (line 218) | func (enc *jsonEncoder) AppendObject(obj ObjectMarshaler) error { method AppendBool (line 232) | func (enc *jsonEncoder) AppendBool(val bool) { method AppendByteString (line 237) | func (enc *jsonEncoder) AppendByteString(val []byte) { method appendComplex (line 247) | func (enc *jsonEncoder) appendComplex(val complex128, precision int) { method AppendDuration (line 265) | func (enc *jsonEncoder) AppendDuration(val time.Duration) { method AppendInt64 (line 277) | func (enc *jsonEncoder) AppendInt64(val int64) { method AppendReflected (line 282) | func (enc *jsonEncoder) AppendReflected(val interface{}) error { method AppendString (line 292) | func (enc *jsonEncoder) AppendString(val string) { method AppendTimeLayout (line 299) | func (enc *jsonEncoder) AppendTimeLayout(time time.Time, layout string) { method AppendTime (line 306) | func (enc *jsonEncoder) AppendTime(val time.Time) { method AppendUint64 (line 318) | func (enc *jsonEncoder) AppendUint64(val uint64) { method AddInt (line 323) | func (enc *jsonEncoder) AddInt(k string, v int) { enc.AddInt64... method AddInt32 (line 324) | func (enc *jsonEncoder) AddInt32(k string, v int32) { enc.AddInt64... method AddInt16 (line 325) | func (enc *jsonEncoder) AddInt16(k string, v int16) { enc.AddInt64... method AddInt8 (line 326) | func (enc *jsonEncoder) AddInt8(k string, v int8) { enc.AddInt64... method AddUint (line 327) | func (enc *jsonEncoder) AddUint(k string, v uint) { enc.AddUint6... method AddUint32 (line 328) | func (enc *jsonEncoder) AddUint32(k string, v uint32) { enc.AddUint6... method AddUint16 (line 329) | func (enc *jsonEncoder) AddUint16(k string, v uint16) { enc.AddUint6... method AddUint8 (line 330) | func (enc *jsonEncoder) AddUint8(k string, v uint8) { enc.AddUint6... method AddUintptr (line 331) | func (enc *jsonEncoder) AddUintptr(k string, v uintptr) { enc.AddUint6... method AppendComplex64 (line 332) | func (enc *jsonEncoder) AppendComplex64(v complex64) { enc.appendCo... method AppendComplex128 (line 333) | func (enc *jsonEncoder) AppendComplex128(v complex128) { enc.appendCo... method AppendFloat64 (line 334) | func (enc *jsonEncoder) AppendFloat64(v float64) { enc.appendFl... method AppendFloat32 (line 335) | func (enc *jsonEncoder) AppendFloat32(v float32) { enc.appendFl... method AppendInt (line 336) | func (enc *jsonEncoder) AppendInt(v int) { enc.AppendIn... method AppendInt32 (line 337) | func (enc *jsonEncoder) AppendInt32(v int32) { enc.AppendIn... method AppendInt16 (line 338) | func (enc *jsonEncoder) AppendInt16(v int16) { enc.AppendIn... method AppendInt8 (line 339) | func (enc *jsonEncoder) AppendInt8(v int8) { enc.AppendIn... method AppendUint (line 340) | func (enc *jsonEncoder) AppendUint(v uint) { enc.AppendUi... method AppendUint32 (line 341) | func (enc *jsonEncoder) AppendUint32(v uint32) { enc.AppendUi... method AppendUint16 (line 342) | func (enc *jsonEncoder) AppendUint16(v uint16) { enc.AppendUi... method AppendUint8 (line 343) | func (enc *jsonEncoder) AppendUint8(v uint8) { enc.AppendUi... method AppendUintptr (line 344) | func (enc *jsonEncoder) AppendUintptr(v uintptr) { enc.AppendUi... method Clone (line 346) | func (enc *jsonEncoder) Clone() Encoder { method clone (line 352) | func (enc *jsonEncoder) clone() *jsonEncoder { method EncodeEntry (line 361) | func (enc *jsonEncoder) EncodeEntry(ent Entry, fields []Field) (*buffe... method truncate (line 433) | func (enc *jsonEncoder) truncate() { method closeOpenNamespaces (line 437) | func (enc *jsonEncoder) closeOpenNamespaces() { method addKey (line 444) | func (enc *jsonEncoder) addKey(key string) { method addElementSeparator (line 455) | func (enc *jsonEncoder) addElementSeparator() { method appendFloat (line 471) | func (enc *jsonEncoder) appendFloat(val float64, bitSize int) { method safeAddString (line 488) | func (enc *jsonEncoder) safeAddString(s string) { method safeAddByteString (line 498) | func (enc *jsonEncoder) safeAddByteString(s []byte) { function NewJSONEncoder (line 77) | func NewJSONEncoder(cfg EncoderConfig) Encoder { function newJSONEncoder (line 81) | func newJSONEncoder(cfg EncoderConfig, spaced bool) *jsonEncoder { function safeAppendStringLike (line 509) | func safeAppendStringLike[S []byte | string]( FILE: zapcore/json_encoder_bench_test.go function BenchmarkJSONLogMarshalerFunc (line 33) | func BenchmarkJSONLogMarshalerFunc(b *testing.B) { function BenchmarkZapJSONFloat32AndComplex64 (line 46) | func BenchmarkZapJSONFloat32AndComplex64(b *testing.B) { constant _sliceSize (line 56) | _sliceSize = 5000 type StringSlice (line 58) | type StringSlice method MarshalLogArray (line 60) | func (s StringSlice) MarshalLogArray(encoder ArrayEncoder) error { function generateStringSlice (line 67) | func generateStringSlice(n int) StringSlice { function BenchmarkZapJSON (line 75) | func BenchmarkZapJSON(b *testing.B) { function BenchmarkStandardJSON (line 100) | func BenchmarkStandardJSON(b *testing.B) { FILE: zapcore/json_encoder_impl_test.go function TestJSONClone (line 47) | func TestJSONClone(t *testing.T) { function TestJSONEscaping (line 60) | func TestJSONEscaping(t *testing.T) { function TestJSONEncoderObjectFields (line 112) | func TestJSONEncoderObjectFields(t *testing.T) { function TestJSONEncoderTimeFormats (line 291) | func TestJSONEncoderTimeFormats(t *testing.T) { function TestJSONEncoderArrays (line 340) | func TestJSONEncoderArrays(t *testing.T) { function TestJSONEncoderTimeArrays (line 459) | func TestJSONEncoderTimeArrays(t *testing.T) { function assertJSON (line 511) | func assertJSON(t *testing.T, expected string, enc *jsonEncoder) { function assertOutput (line 515) | func assertOutput(t testing.TB, cfg EncoderConfig, expected string, f fu... type turducken (line 533) | type turducken struct method MarshalLogObject (line 535) | func (t turducken) MarshalLogObject(enc ObjectEncoder) error { type turduckens (line 550) | type turduckens method MarshalLogArray (line 552) | func (t turduckens) MarshalLogArray(enc ArrayEncoder) error { type loggable (line 561) | type loggable struct method MarshalLogObject (line 563) | func (l loggable) MarshalLogObject(enc ObjectEncoder) error { method MarshalLogArray (line 571) | func (l loggable) MarshalLogArray(enc ArrayEncoder) error { type maybeNamespace (line 580) | type maybeNamespace struct method MarshalLogObject (line 582) | func (m maybeNamespace) MarshalLogObject(enc ObjectEncoder) error { type noJSON (line 591) | type noJSON struct method MarshalJSON (line 593) | func (nj noJSON) MarshalJSON() ([]byte, error) { function zapEncode (line 597) | func zapEncode(encode func(*jsonEncoder, string)) func(s string) []byte { function roundTripsCorrectly (line 611) | func roundTripsCorrectly(encode func(string) []byte, original string) bo... function roundTripsCorrectlyString (line 624) | func roundTripsCorrectlyString(original string) bool { function roundTripsCorrectlyByteString (line 628) | func roundTripsCorrectlyByteString(original string) bool { type ASCII (line 636) | type ASCII method Generate (line 638) | func (s ASCII) Generate(r *rand.Rand, size int) reflect.Value { function asciiRoundTripsCorrectlyString (line 647) | func asciiRoundTripsCorrectlyString(s ASCII) bool { function asciiRoundTripsCorrectlyByteString (line 651) | func asciiRoundTripsCorrectlyByteString(s ASCII) bool { function TestJSONQuick (line 655) | func TestJSONQuick(t *testing.T) { function FuzzSafeAppendStringLike_bytes (line 679) | func FuzzSafeAppendStringLike_bytes(f *testing.F) { function FuzzSafeAppendStringLike_string (line 699) | func FuzzSafeAppendStringLike_string(f *testing.F) { function fuzzSafeAppendStringLike (line 719) | func fuzzSafeAppendStringLike( FILE: zapcore/json_encoder_test.go function TestJSONEncodeEntry (line 39) | func TestJSONEncodeEntry(t *testing.T) { function TestNoEncodeLevelSupplied (line 153) | func TestNoEncodeLevelSupplied(t *testing.T) { function TestJSONEmptyConfig (line 182) | func TestJSONEmptyConfig(t *testing.T) { type emptyReflectedEncoder (line 220) | type emptyReflectedEncoder struct method Encode (line 224) | func (enc *emptyReflectedEncoder) Encode(obj interface{}) error { function TestJSONCustomReflectedEncoder (line 229) | func TestJSONCustomReflectedEncoder(t *testing.T) { FILE: zapcore/lazy_with.go type lazyWithCore (line 25) | type lazyWithCore struct method initOnce (line 42) | func (d *lazyWithCore) initOnce() { method With (line 48) | func (d *lazyWithCore) With(fields []Field) Core { method Check (line 53) | func (d *lazyWithCore) Check(e Entry, ce *CheckedEntry) *CheckedEntry { method Enabled (line 64) | func (d *lazyWithCore) Enabled(level Level) bool { method Write (line 69) | func (d *lazyWithCore) Write(e Entry, fields []Field) error { method Sync (line 74) | func (d *lazyWithCore) Sync() error { function NewLazyWith (line 34) | func NewLazyWith(core Core, fields []Field) Core { FILE: zapcore/lazy_with_test.go type proxyCore (line 33) | type proxyCore struct method With (line 44) | func (p *proxyCore) With(fields []zapcore.Field) zapcore.Core { method Check (line 49) | func (p *proxyCore) Check(e zapcore.Entry, ce *zapcore.CheckedEntry) *... function newProxyCore (line 40) | func newProxyCore(inner zapcore.Core) *proxyCore { function withLazyCore (line 54) | func withLazyCore(f func(zapcore.Core, *proxyCore, *observer.ObservedLog... function TestLazyCore (line 61) | func TestLazyCore(t *testing.T) { function TestLazyCoreRace (line 192) | func TestLazyCoreRace(t *testing.T) { FILE: zapcore/leak_test.go function TestMain (line 29) | func TestMain(m *testing.M) { FILE: zapcore/level.go type Level (line 32) | type Level method String (line 113) | func (l Level) String() string { method CapitalString (line 135) | func (l Level) CapitalString() string { method MarshalText (line 160) | func (l Level) MarshalText() ([]byte, error) { method UnmarshalText (line 170) | func (l *Level) UnmarshalText(text []byte) error { method unmarshalText (line 180) | func (l *Level) unmarshalText(text []byte) bool { method Set (line 203) | func (l *Level) Set(s string) error { method Get (line 208) | func (l *Level) Get() interface{} { method Enabled (line 213) | func (l Level) Enabled(lvl Level) bool { constant DebugLevel (line 37) | DebugLevel Level = iota - 1 constant InfoLevel (line 39) | InfoLevel constant WarnLevel (line 42) | WarnLevel constant ErrorLevel (line 45) | ErrorLevel constant DPanicLevel (line 48) | DPanicLevel constant PanicLevel (line 50) | PanicLevel constant FatalLevel (line 52) | FatalLevel constant _minLevel (line 54) | _minLevel = DebugLevel constant _maxLevel (line 55) | _maxLevel = FatalLevel constant InvalidLevel (line 60) | InvalidLevel = _maxLevel + 1 function ParseLevel (line 69) | func ParseLevel(text string) (Level, error) { type leveledEnabler (line 75) | type leveledEnabler interface function LevelOf (line 98) | func LevelOf(enab LevelEnabler) Level { type LevelEnabler (line 227) | type LevelEnabler interface FILE: zapcore/level_strings.go function init (line 41) | func init() { FILE: zapcore/level_strings_test.go function TestAllLevelsCoveredByLevelString (line 29) | func TestAllLevelsCoveredByLevelString(t *testing.T) { FILE: zapcore/level_test.go function TestLevelString (line 32) | func TestLevelString(t *testing.T) { function TestLevelText (line 51) | func TestLevelText(t *testing.T) { function TestParseLevel (line 90) | func TestParseLevel(t *testing.T) { function TestCapitalLevelsParse (line 112) | func TestCapitalLevelsParse(t *testing.T) { function TestWeirdLevelsParse (line 133) | func TestWeirdLevelsParse(t *testing.T) { function TestLevelNils (line 164) | func TestLevelNils(t *testing.T) { function TestLevelUnmarshalUnknownText (line 180) | func TestLevelUnmarshalUnknownText(t *testing.T) { function TestLevelAsFlagValue (line 186) | func TestLevelAsFlagValue(t *testing.T) { type enablerWithCustomLevel (line 214) | type enablerWithCustomLevel struct method Enabled (line 218) | func (l *enablerWithCustomLevel) Enabled(lvl Level) bool { method Level (line 222) | func (l *enablerWithCustomLevel) Level() Level { function TestLevelOf (line 226) | func TestLevelOf(t *testing.T) { FILE: zapcore/marshaler.go type ObjectMarshaler (line 30) | type ObjectMarshaler interface type ObjectMarshalerFunc (line 36) | type ObjectMarshalerFunc method MarshalLogObject (line 39) | func (f ObjectMarshalerFunc) MarshalLogObject(enc ObjectEncoder) error { type ArrayMarshaler (line 50) | type ArrayMarshaler interface type ArrayMarshalerFunc (line 56) | type ArrayMarshalerFunc method MarshalLogArray (line 59) | func (f ArrayMarshalerFunc) MarshalLogArray(enc ArrayEncoder) error { FILE: zapcore/memory_encoder.go type MapObjectEncoder (line 28) | type MapObjectEncoder struct method AddArray (line 45) | func (m *MapObjectEncoder) AddArray(key string, v ArrayMarshaler) error { method AddObject (line 53) | func (m *MapObjectEncoder) AddObject(k string, v ObjectMarshaler) error { method AddBinary (line 60) | func (m *MapObjectEncoder) AddBinary(k string, v []byte) { m.cur[k] = v } method AddByteString (line 63) | func (m *MapObjectEncoder) AddByteString(k string, v []byte) { m.cur[k... method AddBool (line 66) | func (m *MapObjectEncoder) AddBool(k string, v bool) { m.cur[k] = v } method AddDuration (line 69) | func (m MapObjectEncoder) AddDuration(k string, v time.Duration) { m.c... method AddComplex128 (line 72) | func (m *MapObjectEncoder) AddComplex128(k string, v complex128) { m.c... method AddComplex64 (line 75) | func (m *MapObjectEncoder) AddComplex64(k string, v complex64) { m.cur... method AddFloat64 (line 78) | func (m *MapObjectEncoder) AddFloat64(k string, v float64) { m.cur[k] ... method AddFloat32 (line 81) | func (m *MapObjectEncoder) AddFloat32(k string, v float32) { m.cur[k] ... method AddInt (line 84) | func (m *MapObjectEncoder) AddInt(k string, v int) { m.cur[k] = v } method AddInt64 (line 87) | func (m *MapObjectEncoder) AddInt64(k string, v int64) { m.cur[k] = v } method AddInt32 (line 90) | func (m *MapObjectEncoder) AddInt32(k string, v int32) { m.cur[k] = v } method AddInt16 (line 93) | func (m *MapObjectEncoder) AddInt16(k string, v int16) { m.cur[k] = v } method AddInt8 (line 96) | func (m *MapObjectEncoder) AddInt8(k string, v int8) { m.cur[k] = v } method AddString (line 99) | func (m *MapObjectEncoder) AddString(k string, v string) { m.cur[k] = v } method AddTime (line 102) | func (m MapObjectEncoder) AddTime(k string, v time.Time) { m.cur[k] = v } method AddUint (line 105) | func (m *MapObjectEncoder) AddUint(k string, v uint) { m.cur[k] = v } method AddUint64 (line 108) | func (m *MapObjectEncoder) AddUint64(k string, v uint64) { m.cur[k] = v } method AddUint32 (line 111) | func (m *MapObjectEncoder) AddUint32(k string, v uint32) { m.cur[k] = v } method AddUint16 (line 114) | func (m *MapObjectEncoder) AddUint16(k string, v uint16) { m.cur[k] = v } method AddUint8 (line 117) | func (m *MapObjectEncoder) AddUint8(k string, v uint8) { m.cur[k] = v } method AddUintptr (line 120) | func (m *MapObjectEncoder) AddUintptr(k string, v uintptr) { m.cur[k] ... method AddReflected (line 123) | func (m *MapObjectEncoder) AddReflected(k string, v interface{}) error { method OpenNamespace (line 129) | func (m *MapObjectEncoder) OpenNamespace(k string) { function NewMapObjectEncoder (line 36) | func NewMapObjectEncoder() *MapObjectEncoder { type sliceArrayEncoder (line 137) | type sliceArrayEncoder struct method AppendArray (line 141) | func (s *sliceArrayEncoder) AppendArray(v ArrayMarshaler) error { method AppendObject (line 148) | func (s *sliceArrayEncoder) AppendObject(v ObjectMarshaler) error { method AppendReflected (line 155) | func (s *sliceArrayEncoder) AppendReflected(v interface{}) error { method AppendBool (line 160) | func (s *sliceArrayEncoder) AppendBool(v bool) { s.elems ... method AppendByteString (line 161) | func (s *sliceArrayEncoder) AppendByteString(v []byte) { s.elems ... method AppendComplex128 (line 162) | func (s *sliceArrayEncoder) AppendComplex128(v complex128) { s.elems ... method AppendComplex64 (line 163) | func (s *sliceArrayEncoder) AppendComplex64(v complex64) { s.elems ... method AppendDuration (line 164) | func (s *sliceArrayEncoder) AppendDuration(v time.Duration) { s.elems ... method AppendFloat64 (line 165) | func (s *sliceArrayEncoder) AppendFloat64(v float64) { s.elems ... method AppendFloat32 (line 166) | func (s *sliceArrayEncoder) AppendFloat32(v float32) { s.elems ... method AppendInt (line 167) | func (s *sliceArrayEncoder) AppendInt(v int) { s.elems ... method AppendInt64 (line 168) | func (s *sliceArrayEncoder) AppendInt64(v int64) { s.elems ... method AppendInt32 (line 169) | func (s *sliceArrayEncoder) AppendInt32(v int32) { s.elems ... method AppendInt16 (line 170) | func (s *sliceArrayEncoder) AppendInt16(v int16) { s.elems ... method AppendInt8 (line 171) | func (s *sliceArrayEncoder) AppendInt8(v int8) { s.elems ... method AppendString (line 172) | func (s *sliceArrayEncoder) AppendString(v string) { s.elems ... method AppendTime (line 173) | func (s *sliceArrayEncoder) AppendTime(v time.Time) { s.elems ... method AppendUint (line 174) | func (s *sliceArrayEncoder) AppendUint(v uint) { s.elems ... method AppendUint64 (line 175) | func (s *sliceArrayEncoder) AppendUint64(v uint64) { s.elems ... method AppendUint32 (line 176) | func (s *sliceArrayEncoder) AppendUint32(v uint32) { s.elems ... method AppendUint16 (line 177) | func (s *sliceArrayEncoder) AppendUint16(v uint16) { s.elems ... method AppendUint8 (line 178) | func (s *sliceArrayEncoder) AppendUint8(v uint8) { s.elems ... method AppendUintptr (line 179) | func (s *sliceArrayEncoder) AppendUintptr(v uintptr) { s.elems ... FILE: zapcore/memory_encoder_test.go function TestMapObjectEncoderAdd (line 31) | func TestMapObjectEncoderAdd(t *testing.T) { function TestSliceArrayEncoderAppend (line 259) | func TestSliceArrayEncoderAppend(t *testing.T) { function TestMapObjectEncoderReflectionFailures (line 361) | func TestMapObjectEncoderReflectionFailures(t *testing.T) { FILE: zapcore/reflected_encoder.go type ReflectedEncoder (line 31) | type ReflectedEncoder interface function defaultReflectedEncoder (line 36) | func defaultReflectedEncoder(w io.Writer) ReflectedEncoder { FILE: zapcore/sampler.go constant _numLevels (line 29) | _numLevels = _maxLevel - _minLevel + 1 constant _countersPerLevel (line 30) | _countersPerLevel = 4096 type counter (line 33) | type counter struct method IncCheckReset (line 64) | func (c *counter) IncCheckReset(t time.Time, tick time.Duration) uint64 { type counters (line 38) | type counters method get (line 44) | func (cs *counters) get(lvl Level, key string) *counter { function newCounters (line 40) | func newCounters() *counters { function fnv32a (line 51) | func fnv32a(s string) uint32 { type SamplingDecision (line 85) | type SamplingDecision constant LogDropped (line 89) | LogDropped SamplingDecision = 1 << iota constant LogSampled (line 91) | LogSampled type optionFunc (line 95) | type optionFunc method apply (line 97) | func (f optionFunc) apply(s *sampler) { type SamplerOption (line 102) | type SamplerOption interface function nopSamplingHook (line 107) | func nopSamplingHook(Entry, SamplingDecision) {} function SamplerHook (line 121) | func SamplerHook(hook func(entry Entry, dec SamplingDecision)) SamplerOp... function NewSamplerWithOptions (line 152) | func NewSamplerWithOptions(core Core, tick time.Duration, first, thereaf... type sampler (line 168) | type sampler struct method Level (line 199) | func (s *sampler) Level() Level { method With (line 203) | func (s *sampler) With(fields []Field) Core { method Check (line 214) | func (s *sampler) Check(ent Entry, ce *CheckedEntry) *CheckedEntry { function NewSampler (line 195) | func NewSampler(core Core, tick time.Duration, first, thereafter int) Co... FILE: zapcore/sampler_bench_test.go function BenchmarkSampler_Check (line 207) | func BenchmarkSampler_Check(b *testing.B) { function makeSamplerCountingHook (line 236) | func makeSamplerCountingHook() (func(_ Entry, dec SamplingDecision), *at... function BenchmarkSampler_CheckWithHook (line 249) | func BenchmarkSampler_CheckWithHook(b *testing.B) { FILE: zapcore/sampler_test.go function fakeSampler (line 40) | func fakeSampler(lvl LevelEnabler, tick time.Duration, first, thereafter... function assertSequence (line 47) | func assertSequence(t testing.TB, logs []observer.LoggedEntry, lvl Level... function writeSequence (line 61) | func writeSequence(core Core, n int, lvl Level) { function TestSampler (line 70) | func TestSampler(t *testing.T) { function TestLevelOfSampler (line 92) | func TestLevelOfSampler(t *testing.T) { function TestSamplerDisabledLevels (line 105) | func TestSamplerDisabledLevels(t *testing.T) { function TestSamplerTicking (line 114) | func TestSamplerTicking(t *testing.T) { type countingCore (line 153) | type countingCore struct method Check (line 157) | func (c *countingCore) Check(ent Entry, ce *CheckedEntry) *CheckedEntry { method Write (line 161) | func (c *countingCore) Write(Entry, []Field) error { method With (line 166) | func (c *countingCore) With([]Field) Core { return c } method Enabled (line 167) | func (*countingCore) Enabled(Level) bool { return true } method Sync (line 168) | func (*countingCore) Sync() error { return nil } function TestSamplerConcurrent (line 170) | func TestSamplerConcurrent(t *testing.T) { function TestSamplerRaces (line 251) | func TestSamplerRaces(t *testing.T) { function TestSamplerUnknownLevels (line 272) | func TestSamplerUnknownLevels(t *testing.T) { function TestSamplerWithZeroThereafter (line 292) | func TestSamplerWithZeroThereafter(t *testing.T) { FILE: zapcore/tee.go type multiCore (line 25) | type multiCore method With (line 48) | func (mc multiCore) With(fields []Field) Core { method Level (line 56) | func (mc multiCore) Level() Level { method Enabled (line 66) | func (mc multiCore) Enabled(lvl Level) bool { method Check (line 75) | func (mc multiCore) Check(ent Entry, ce *CheckedEntry) *CheckedEntry { method Write (line 82) | func (mc multiCore) Write(ent Entry, fields []Field) error { method Sync (line 90) | func (mc multiCore) Sync() error { function NewTee (line 37) | func NewTee(cores ...Core) Core { FILE: zapcore/tee_logger_bench_test.go function withBenchedTee (line 31) | func withBenchedTee(b *testing.B, f func(Core)) { function BenchmarkTeeCheck (line 40) | func BenchmarkTeeCheck(b *testing.B) { FILE: zapcore/tee_test.go function withTee (line 35) | func withTee(f func(core Core, debugLogs, warnLogs *observer.ObservedLog... function TestTeeUnusualInput (line 42) | func TestTeeUnusualInput(t *testing.T) { function TestLevelOfTee (line 53) | func TestLevelOfTee(t *testing.T) { function TestTeeCheck (line 91) | func TestTeeCheck(t *testing.T) { function TestTeeWrite (line 117) | func TestTeeWrite(t *testing.T) { function TestTeeWith (line 136) | func TestTeeWith(t *testing.T) { function TestTeeEnabled (line 153) | func TestTeeEnabled(t *testing.T) { function TestTeeSync (line 175) | func TestTeeSync(t *testing.T) { FILE: zapcore/write_syncer.go type WriteSyncer (line 32) | type WriteSyncer interface function AddSync (line 40) | func AddSync(w io.Writer) WriteSyncer { type lockedWriteSyncer (line 49) | type lockedWriteSyncer struct method Write (line 64) | func (s *lockedWriteSyncer) Write(bs []byte) (int, error) { method Sync (line 71) | func (s *lockedWriteSyncer) Sync() error { function Lock (line 56) | func Lock(ws WriteSyncer) WriteSyncer { type writerWrapper (line 78) | type writerWrapper struct method Sync (line 82) | func (w writerWrapper) Sync() error { type multiWriteSyncer (line 86) | type multiWriteSyncer method Write (line 101) | func (ws multiWriteSyncer) Write(p []byte) (int, error) { method Sync (line 116) | func (ws multiWriteSyncer) Sync() error { function NewMultiWriteSyncer (line 90) | func NewMultiWriteSyncer(ws ...WriteSyncer) WriteSyncer { FILE: zapcore/write_syncer_bench_test.go function BenchmarkMultiWriteSyncer (line 32) | func BenchmarkMultiWriteSyncer(b *testing.B) { function BenchmarkWriteSyncer (line 86) | func BenchmarkWriteSyncer(b *testing.B) { FILE: zapcore/write_syncer_test.go type writeSyncSpy (line 34) | type writeSyncSpy struct function requireWriteWorks (line 39) | func requireWriteWorks(t testing.TB, ws WriteSyncer) { function TestAddSyncWriteSyncer (line 45) | func TestAddSyncWriteSyncer(t *testing.T) { function TestAddSyncWriter (line 58) | func TestAddSyncWriter(t *testing.T) { function TestNewMultiWriteSyncerWorksForSingleWriter (line 67) | func TestNewMultiWriteSyncerWorksForSingleWriter(t *testing.T) { function TestMultiWriteSyncerWritesBoth (line 77) | func TestMultiWriteSyncerWritesBoth(t *testing.T) { function TestMultiWriteSyncerFailsWrite (line 91) | func TestMultiWriteSyncerFailsWrite(t *testing.T) { function TestMultiWriteSyncerFailsShortWrite (line 97) | func TestMultiWriteSyncerFailsShortWrite(t *testing.T) { function TestWritestoAllSyncs_EvenIfFirstErrors (line 104) | func TestWritestoAllSyncs_EvenIfFirstErrors(t *testing.T) { function TestMultiWriteSyncerSync_PropagatesErrors (line 114) | func TestMultiWriteSyncerSync_PropagatesErrors(t *testing.T) { function TestMultiWriteSyncerSync_NoErrorsOnDiscard (line 122) | func TestMultiWriteSyncerSync_NoErrorsOnDiscard(t *testing.T) { function TestMultiWriteSyncerSync_AllCalled (line 127) | func TestMultiWriteSyncerSync_AllCalled(t *testing.T) { FILE: zapgrpc/internal/test/grpc_test.go function TestLoggerV2 (line 35) | func TestLoggerV2(t *testing.T) { FILE: zapgrpc/zapgrpc.go constant grpcLvlInfo (line 33) | grpcLvlInfo int = iota constant grpcLvlWarn (line 34) | grpcLvlWarn constant grpcLvlError (line 35) | grpcLvlError constant grpcLvlFatal (line 36) | grpcLvlFatal type Option (line 49) | type Option interface type optionFunc (line 53) | type optionFunc method apply (line 55) | func (f optionFunc) apply(log *Logger) { function WithDebug (line 64) | func WithDebug() Option { function withWarn (line 77) | func withWarn() Option { function NewLogger (line 89) | func NewLogger(l *zap.Logger, options ...Option) *Logger { type printer (line 116) | type printer struct method Print (line 123) | func (v *printer) Print(args ...interface{}) { method Printf (line 127) | func (v *printer) Printf(format string, args ...interface{}) { method Println (line 131) | func (v *printer) Println(args ...interface{}) { type Logger (line 138) | type Logger struct method Print (line 150) | func (l *Logger) Print(args ...interface{}) { method Printf (line 157) | func (l *Logger) Printf(format string, args ...interface{}) { method Println (line 164) | func (l *Logger) Println(args ...interface{}) { method Info (line 169) | func (l *Logger) Info(args ...interface{}) { method Infoln (line 174) | func (l *Logger) Infoln(args ...interface{}) { method Infof (line 181) | func (l *Logger) Infof(format string, args ...interface{}) { method Warning (line 186) | func (l *Logger) Warning(args ...interface{}) { method Warningln (line 191) | func (l *Logger) Warningln(args ...interface{}) { method Warningf (line 198) | func (l *Logger) Warningf(format string, args ...interface{}) { method Error (line 203) | func (l *Logger) Error(args ...interface{}) { method Errorln (line 208) | func (l *Logger) Errorln(args ...interface{}) { method Errorf (line 215) | func (l *Logger) Errorf(format string, args ...interface{}) { method Fatal (line 220) | func (l *Logger) Fatal(args ...interface{}) { method Fatalln (line 225) | func (l *Logger) Fatalln(args ...interface{}) { method Fatalf (line 230) | func (l *Logger) Fatalf(format string, args ...interface{}) { method V (line 235) | func (l *Logger) V(level int) bool { function sprintln (line 239) | func sprintln(args []interface{}) string { FILE: zapgrpc/zapgrpc_test.go function TestLoggerInfoExpected (line 34) | func TestLoggerInfoExpected(t *testing.T) { function TestLoggerDebugExpected (line 68) | func TestLoggerDebugExpected(t *testing.T) { function TestLoggerDebugSuppressed (line 88) | func TestLoggerDebugSuppressed(t *testing.T) { function TestLoggerWarningExpected (line 98) | func TestLoggerWarningExpected(t *testing.T) { function TestLoggerErrorExpected (line 118) | func TestLoggerErrorExpected(t *testing.T) { function TestLoggerFatalExpected (line 138) | func TestLoggerFatalExpected(t *testing.T) { function TestLoggerV (line 158) | func TestLoggerV(t *testing.T) { function checkLevel (line 218) | func checkLevel( function checkMessages (line 234) | func checkMessages( function withLogger (line 256) | func withLogger( FILE: zapio/example_test.go function ExampleWriter (line 31) | func ExampleWriter() { FILE: zapio/writer.go type Writer (line 51) | type Writer struct method Write (line 75) | func (w *Writer) Write(bs []byte) (n int, err error) { method writeLine (line 91) | func (w *Writer) writeLine(line []byte) (remaining []byte) { method Close (line 122) | func (w *Writer) Close() error { method Sync (line 128) | func (w *Writer) Sync() error { method flush (line 138) | func (w *Writer) flush(allowEmpty bool) { method log (line 145) | func (w *Writer) log(b []byte) { FILE: zapio/writer_test.go function TestWriter (line 34) | func TestWriter(t *testing.T) { function TestWrite_Sync (line 160) | func TestWrite_Sync(t *testing.T) { function BenchmarkWriter (line 193) | func BenchmarkWriter(b *testing.B) { type partiallyNopCore (line 238) | type partiallyNopCore struct method Enabled (line 240) | func (*partiallyNopCore) Enabled(zapcore.Level) bool { return true } method Check (line 242) | func (c *partiallyNopCore) Check(ent zapcore.Entry, ce *zapcore.Checke... method With (line 246) | func (c *partiallyNopCore) With([]zapcore.Field) zapcore.Core {... method Write (line 247) | func (*partiallyNopCore) Write(zapcore.Entry, []zapcore.Field) error {... method Sync (line 248) | func (*partiallyNopCore) Sync() error {... FILE: zaptest/logger.go type LoggerOption (line 31) | type LoggerOption interface type loggerOptions (line 35) | type loggerOptions struct type loggerOptionFunc (line 40) | type loggerOptionFunc method applyLoggerOption (line 42) | func (f loggerOptionFunc) applyLoggerOption(opts *loggerOptions) { function Level (line 48) | func Level(enab zapcore.LevelEnabler) LoggerOption { function WrapOptions (line 55) | func WrapOptions(zapOpts ...zap.Option) LoggerOption { function NewLogger (line 77) | func NewLogger(t TestingT, opts ...LoggerOption) *zap.Logger { type TestingWriter (line 104) | type TestingWriter struct method WithMarkFailed (line 133) | func (w TestingWriter) WithMarkFailed(v bool) TestingWriter { method Write (line 139) | func (w TestingWriter) Write(p []byte) (n int, err error) { method Sync (line 155) | func (w TestingWriter) Sync() error { function NewTestingWriter (line 127) | func NewTestingWriter(t TestingT) TestingWriter { FILE: zaptest/logger_test.go function TestTestLogger (line 37) | func TestTestLogger(t *testing.T) { function TestTestLoggerSupportsLevels (line 61) | func TestTestLoggerSupportsLevels(t *testing.T) { function TestTestLoggerSupportsWrappedZapOptions (line 83) | func TestTestLoggerSupportsWrappedZapOptions(t *testing.T) { function TestTestingWriter (line 107) | func TestTestingWriter(t *testing.T) { function TestTestLoggerErrorOutput (line 116) | func TestTestLoggerErrorOutput(t *testing.T) { type testLogSpy (line 142) | type testLogSpy struct method Fail (line 153) | func (t *testLogSpy) Fail() { method Failed (line 157) | func (t *testLogSpy) Failed() bool { method FailNow (line 161) | func (t *testLogSpy) FailNow() { method Logf (line 166) | func (t *testLogSpy) Logf(format string, args ...interface{}) { method AssertMessages (line 179) | func (t *testLogSpy) AssertMessages(msgs ...string) { method AssertPassed (line 183) | func (t *testLogSpy) AssertPassed() { method AssertFailed (line 187) | func (t *testLogSpy) AssertFailed() { method assertFailed (line 191) | func (t *testLogSpy) assertFailed(v bool, msg string) { function newTestLogSpy (line 149) | func newTestLogSpy(t testing.TB) *testLogSpy { FILE: zaptest/observer/logged_entry.go type LoggedEntry (line 27) | type LoggedEntry struct method ContextMap (line 33) | func (e LoggedEntry) ContextMap() map[string]interface{} { FILE: zaptest/observer/logged_entry_test.go function TestLoggedEntryContextMap (line 32) | func TestLoggedEntryContextMap(t *testing.T) { FILE: zaptest/observer/observer.go type ObservedLogs (line 37) | type ObservedLogs struct method Len (line 43) | func (o *ObservedLogs) Len() int { method All (line 51) | func (o *ObservedLogs) All() []LoggedEntry { method TakeAll (line 61) | func (o *ObservedLogs) TakeAll() []LoggedEntry { method AllUntimed (line 72) | func (o *ObservedLogs) AllUntimed() []LoggedEntry { method FilterLevelExact (line 81) | func (o *ObservedLogs) FilterLevelExact(level zapcore.Level) *Observed... method FilterMessage (line 88) | func (o *ObservedLogs) FilterMessage(msg string) *ObservedLogs { method FilterLoggerName (line 95) | func (o *ObservedLogs) FilterLoggerName(name string) *ObservedLogs { method FilterMessageSnippet (line 102) | func (o *ObservedLogs) FilterMessageSnippet(snippet string) *ObservedL... method FilterField (line 109) | func (o *ObservedLogs) FilterField(field zapcore.Field) *ObservedLogs { method FilterFieldKey (line 121) | func (o *ObservedLogs) FilterFieldKey(key string) *ObservedLogs { method Filter (line 134) | func (o *ObservedLogs) Filter(keep func(LoggedEntry) bool) *ObservedLo... method add (line 147) | func (o *ObservedLogs) add(log LoggedEntry) { function New (line 155) | func New(enab zapcore.LevelEnabler) (zapcore.Core, *ObservedLogs) { type contextObserver (line 163) | type contextObserver struct method Level (line 174) | func (co *contextObserver) Level() zapcore.Level { method Check (line 178) | func (co *contextObserver) Check(ent zapcore.Entry, ce *zapcore.Checke... method With (line 185) | func (co *contextObserver) With(fields []zapcore.Field) zapcore.Core { method Write (line 193) | func (co *contextObserver) Write(ent zapcore.Entry, fields []zapcore.F... method Sync (line 201) | func (co *contextObserver) Sync() error { FILE: zaptest/observer/observer_test.go function assertEmpty (line 37) | func assertEmpty(t testing.TB, logs *ObservedLogs) { function TestObserver (line 42) | func TestObserver(t *testing.T) { function TestObserverWith (line 76) | func TestObserverWith(t *testing.T) { function TestFilters (line 128) | func TestFilters(t *testing.T) { FILE: zaptest/testingt.go type TestingT (line 25) | type TestingT interface FILE: zaptest/timeout.go function Timeout (line 34) | func Timeout(base time.Duration) time.Duration { function Sleep (line 43) | func Sleep(base time.Duration) { FILE: zaptest/timeout_test.go function TestTimeout (line 31) | func TestTimeout(t *testing.T) { function TestSleep (line 36) | func TestSleep(t *testing.T) { FILE: zaptest/writer_test.go function TestSyncer (line 30) | func TestSyncer(t *testing.T) { function TestDiscarder (line 38) | func TestDiscarder(t *testing.T) { function TestFailWriter (line 46) | func TestFailWriter(t *testing.T) { function TestShortWriter (line 54) | func TestShortWriter(t *testing.T) { function TestBuffer (line 62) | func TestBuffer(t *testing.T) {