SYMBOL INDEX (1211 symbols across 79 files) FILE: array.go type Array (line 20) | type Array struct method MarshalZerologArray (line 61) | func (*Array) MarshalZerologArray(*Array) { method write (line 65) | func (a *Array) write(dst []byte) []byte { method Object (line 77) | func (a *Array) Object(obj LogObjectMarshaler) *Array { method Str (line 83) | func (a *Array) Str(val string) *Array { method Bytes (line 89) | func (a *Array) Bytes(val []byte) *Array { method Hex (line 95) | func (a *Array) Hex(val []byte) *Array { method RawJSON (line 101) | func (a *Array) RawJSON(val []byte) *Array { method Err (line 107) | func (a *Array) Err(err error) *Array { method Errs (line 127) | func (a *Array) Errs(errs []error) *Array { method Bool (line 148) | func (a *Array) Bool(b bool) *Array { method Int (line 154) | func (a *Array) Int(i int) *Array { method Int8 (line 160) | func (a *Array) Int8(i int8) *Array { method Int16 (line 166) | func (a *Array) Int16(i int16) *Array { method Int32 (line 172) | func (a *Array) Int32(i int32) *Array { method Int64 (line 178) | func (a *Array) Int64(i int64) *Array { method Uint (line 184) | func (a *Array) Uint(i uint) *Array { method Uint8 (line 190) | func (a *Array) Uint8(i uint8) *Array { method Uint16 (line 196) | func (a *Array) Uint16(i uint16) *Array { method Uint32 (line 202) | func (a *Array) Uint32(i uint32) *Array { method Uint64 (line 208) | func (a *Array) Uint64(i uint64) *Array { method Float32 (line 214) | func (a *Array) Float32(f float32) *Array { method Float64 (line 220) | func (a *Array) Float64(f float64) *Array { method Time (line 226) | func (a *Array) Time(t time.Time) *Array { method Dur (line 232) | func (a *Array) Dur(d time.Duration) *Array { method Interface (line 238) | func (a *Array) Interface(i interface{}) *Array { method IPAddr (line 247) | func (a *Array) IPAddr(ip net.IP) *Array { method IPPrefix (line 253) | func (a *Array) IPPrefix(pfx net.IPNet) *Array { method MACAddr (line 259) | func (a *Array) MACAddr(ha net.HardwareAddr) *Array { method Dict (line 265) | func (a *Array) Dict(dict *Event) *Array { method Type (line 273) | func (a *Array) Type(val interface{}) *Array { function putArray (line 27) | func putArray(a *Array) { function Arr (line 50) | func Arr() *Array { FILE: array_test.go function TestArray (line 10) | func TestArray(t *testing.T) { function TestArray_MarshalZerologArray (line 63) | func TestArray_MarshalZerologArray(t *testing.T) { FILE: benchmark_test.go function BenchmarkLogEmpty (line 15) | func BenchmarkLogEmpty(b *testing.B) { function BenchmarkDisabled (line 25) | func BenchmarkDisabled(b *testing.B) { function BenchmarkInfo (line 35) | func BenchmarkInfo(b *testing.B) { function BenchmarkContextFields (line 45) | func BenchmarkContextFields(b *testing.B) { function BenchmarkContextAppend (line 60) | func BenchmarkContextAppend(b *testing.B) { function BenchmarkLogFields (line 72) | func BenchmarkLogFields(b *testing.B) { function BenchmarkLogArrayObject (line 87) | func BenchmarkLogArrayObject(b *testing.B) { function BenchmarkLogFieldType (line 103) | func BenchmarkLogFieldType(b *testing.B) { function BenchmarkContextFieldType (line 227) | func BenchmarkContextFieldType(b *testing.B) { FILE: binary_test.go function ExampleLogger_With (line 16) | func ExampleLogger_With() { function ExampleLogger_Level (line 29) | func ExampleLogger_Level() { function ExampleLogger_Sample (line 40) | func ExampleLogger_Sample() { type LevelNameHook1 (line 54) | type LevelNameHook1 struct method Run (line 56) | func (h LevelNameHook1) Run(e *Event, l Level, msg string) { type MessageHook (line 64) | type MessageHook method Run (line 66) | func (h MessageHook) Run(e *Event, l Level, msg string) { function ExampleLogger_Hook (line 70) | func ExampleLogger_Hook() { function ExampleLogger_Print (line 83) | func ExampleLogger_Print() { function ExampleLogger_Printf (line 93) | func ExampleLogger_Printf() { function ExampleLogger_Trace (line 103) | func ExampleLogger_Trace() { function ExampleLogger_Debug (line 116) | func ExampleLogger_Debug() { function ExampleLogger_Info (line 129) | func ExampleLogger_Info() { function ExampleLogger_Warn (line 142) | func ExampleLogger_Warn() { function ExampleLogger_Error (line 154) | func ExampleLogger_Error() { function ExampleLogger_WithLevel (line 166) | func ExampleLogger_WithLevel() { function ExampleLogger_Write (line 177) | func ExampleLogger_Write() { function ExampleLogger_Log (line 192) | func ExampleLogger_Log() { function ExampleEvent_Dict (line 205) | func ExampleEvent_Dict() { type User (line 222) | type User struct method MarshalZerologObject (line 228) | func (u User) MarshalZerologObject(e *Event) { type Users (line 234) | type Users method MarshalZerologArray (line 237) | func (uu Users) MarshalZerologArray(a *Array) { function ExampleEvent_Array (line 243) | func ExampleEvent_Array() { function ExampleEvent_Array_object (line 260) | func ExampleEvent_Array_object() { function ExampleEvent_Object (line 279) | func ExampleEvent_Object() { function ExampleContext_Objects (line 295) | func ExampleContext_Objects() { function ExampleEvent_EmbedObject (line 314) | func ExampleEvent_EmbedObject() { function ExampleEvent_Interface (line 329) | func ExampleEvent_Interface() { function ExampleEvent_Dur (line 348) | func ExampleEvent_Dur() { function ExampleEvent_Durs (line 363) | func ExampleEvent_Durs() { function ExampleEvent_Fields_map (line 381) | func ExampleEvent_Fields_map() { function ExampleEvent_Fields_slice (line 399) | func ExampleEvent_Fields_slice() { function ExampleContext_Dict (line 417) | func ExampleContext_Dict() { function ExampleContext_Array (line 433) | func ExampleContext_Array() { function ExampleContext_Array_object (line 449) | func ExampleContext_Array_object() { type Price (line 468) | type Price struct method MarshalZerologObject (line 474) | func (p Price) MarshalZerologObject(e *Event) { function ExampleContext_EmbedObject (line 484) | func ExampleContext_EmbedObject() { function ExampleContext_Object (line 498) | func ExampleContext_Object() { function ExampleContext_Interface (line 514) | func ExampleContext_Interface() { function ExampleContext_Dur (line 533) | func ExampleContext_Dur() { function ExampleContext_Durs (line 548) | func ExampleContext_Durs() { function ExampleContext_Fields_map (line 566) | func ExampleContext_Fields_map() { function ExampleContext_Fields_slice (line 584) | func ExampleContext_Fields_slice() { function ExampleContext_IPAddr (line 602) | func ExampleContext_IPAddr() { function ExampleContext_IPPrefix (line 618) | func ExampleContext_IPPrefix() { function ExampleContext_MACAddr (line 634) | func ExampleContext_MACAddr() { FILE: cmd/lint/lint.go function init (line 25) | func init() { function main (line 42) | func main() { function getEvent (line 81) | func getEvent(p *loader.Program) types.Type { function getSelectionsWithReceiverType (line 95) | func getSelectionsWithReceiverType(p *loader.Program, targetType types.T... function hasBadFinisher (line 124) | func hasBadFinisher(p *loader.Program, s selection) bool { type arrayFlag (line 160) | type arrayFlag method String (line 162) | func (i *arrayFlag) String() string { method Set (line 166) | func (i *arrayFlag) Set(value string) error { type selection (line 171) | type selection struct FILE: cmd/prettylog/prettylog.go function isInputFromPipe (line 15) | func isInputFromPipe() bool { function processInput (line 20) | func processInput(reader io.Reader, writer io.Writer) error { function main (line 37) | func main() { FILE: console.go constant colorBlack (line 20) | colorBlack = iota + 30 constant colorRed (line 21) | colorRed constant colorGreen (line 22) | colorGreen constant colorYellow (line 23) | colorYellow constant colorBlue (line 24) | colorBlue constant colorMagenta (line 25) | colorMagenta constant colorCyan (line 26) | colorCyan constant colorWhite (line 27) | colorWhite constant colorBold (line 29) | colorBold = 1 constant colorDarkGray (line 30) | colorDarkGray = 90 constant unknownLevel (line 32) | unknownLevel = "???" constant consoleDefaultTimeFormat (line 44) | consoleDefaultTimeFormat = time.Kitchen type Formatter (line 48) | type Formatter type FormatterByFieldName (line 52) | type FormatterByFieldName type ConsoleWriter (line 56) | type ConsoleWriter struct method Write (line 122) | func (w ConsoleWriter) Write(p []byte) (n int, err error) { method Close (line 178) | func (w ConsoleWriter) Close() error { method writeFields (line 186) | func (w ConsoleWriter) writeFields(evt map[string]interface{}, buf *by... method writePart (line 290) | func (w ConsoleWriter) writePart(buf *bytes.Buffer, evt map[string]int... method orderFields (line 355) | func (w ConsoleWriter) orderFields(fields []string) { function NewConsoleWriter (line 102) | func NewConsoleWriter(options ...func(w *ConsoleWriter)) ConsoleWriter { function needsQuote (line 379) | func needsQuote(s string) bool { function colorize (line 389) | func colorize(s interface{}, c int, disabled bool) string { function consoleDefaultPartsOrder (line 403) | func consoleDefaultPartsOrder() []string { function consoleDefaultFormatTimestamp (line 412) | func consoleDefaultFormatTimestamp(timeFormat string, location *time.Loc... function stripLevel (line 456) | func stripLevel(ll string) string { function consoleDefaultFormatLevel (line 466) | func consoleDefaultFormatLevel(noColor bool) Formatter { function consoleDefaultFormatCaller (line 483) | func consoleDefaultFormatCaller(noColor bool) Formatter { function consoleDefaultFormatMessage (line 501) | func consoleDefaultFormatMessage(noColor bool, level interface{}) Format... function consoleDefaultFormatFieldName (line 515) | func consoleDefaultFormatFieldName(noColor bool) Formatter { function consoleDefaultFormatFieldValue (line 521) | func consoleDefaultFormatFieldValue(i interface{}) string { function consoleDefaultFormatErrFieldName (line 525) | func consoleDefaultFormatErrFieldName(noColor bool) Formatter { function consoleDefaultFormatErrFieldValue (line 531) | func consoleDefaultFormatErrFieldValue(noColor bool) Formatter { FILE: console_test.go function ExampleConsoleWriter (line 17) | func ExampleConsoleWriter() { function ExampleConsoleWriter_customFormatters (line 24) | func ExampleConsoleWriter_customFormatters() { function ExampleConsoleWriter_partValueFormatter (line 35) | func ExampleConsoleWriter_partValueFormatter() { function ExampleNewConsoleWriter (line 63) | func ExampleNewConsoleWriter() { function ExampleNewConsoleWriter_customFormatters (line 72) | func ExampleNewConsoleWriter_customFormatters() { function TestConsoleLogger (line 89) | func TestConsoleLogger(t *testing.T) { function TestConsoleWriter (line 104) | func TestConsoleWriter(t *testing.T) { function TestConsoleWriterConfiguration (line 451) | func TestConsoleWriterConfiguration(t *testing.T) { function BenchmarkConsoleWriter (line 643) | func BenchmarkConsoleWriter(b *testing.B) { FILE: context.go type Context (line 12) | type Context struct method Logger (line 17) | func (c Context) Logger() Logger { method Fields (line 24) | func (c Context) Fields(fields interface{}) Context { method Dict (line 30) | func (c Context) Dict(key string, dict *Event) Context { method CreateDict (line 41) | func (c Context) CreateDict() *Event { method CreateArray (line 49) | func (c Context) CreateArray() *Array { method Array (line 60) | func (c Context) Array(key string, arr LogArrayMarshaler) Context { method Object (line 73) | func (c Context) Object(key string, obj LogObjectMarshaler) Context { method Objects (line 82) | func (c Context) Objects(key string, objs []LogObjectMarshaler) Context { method EmbedObject (line 91) | func (c Context) EmbedObject(obj LogObjectMarshaler) Context { method Str (line 100) | func (c Context) Str(key, val string) Context { method Strs (line 106) | func (c Context) Strs(key string, vals []string) Context { method Stringer (line 112) | func (c Context) Stringer(key string, val fmt.Stringer) Context { method Stringers (line 124) | func (c Context) Stringers(key string, vals []fmt.Stringer) Context { method Bytes (line 135) | func (c Context) Bytes(key string, val []byte) Context { method Hex (line 141) | func (c Context) Hex(key string, val []byte) Context { method RawJSON (line 150) | func (c Context) RawJSON(key string, b []byte) Context { method AnErr (line 157) | func (c Context) AnErr(key string, err error) Context { method Errs (line 177) | func (c Context) Errs(key string, errs []error) Context { method Err (line 183) | func (c Context) Err(err error) Context { method Ctx (line 206) | func (c Context) Ctx(ctx context.Context) Context { method Bool (line 212) | func (c Context) Bool(key string, b bool) Context { method Bools (line 218) | func (c Context) Bools(key string, b []bool) Context { method Int (line 224) | func (c Context) Int(key string, i int) Context { method Ints (line 230) | func (c Context) Ints(key string, i []int) Context { method Int8 (line 236) | func (c Context) Int8(key string, i int8) Context { method Ints8 (line 242) | func (c Context) Ints8(key string, i []int8) Context { method Int16 (line 248) | func (c Context) Int16(key string, i int16) Context { method Ints16 (line 254) | func (c Context) Ints16(key string, i []int16) Context { method Int32 (line 260) | func (c Context) Int32(key string, i int32) Context { method Ints32 (line 266) | func (c Context) Ints32(key string, i []int32) Context { method Int64 (line 272) | func (c Context) Int64(key string, i int64) Context { method Ints64 (line 278) | func (c Context) Ints64(key string, i []int64) Context { method Uint (line 284) | func (c Context) Uint(key string, i uint) Context { method Uints (line 290) | func (c Context) Uints(key string, i []uint) Context { method Uint8 (line 296) | func (c Context) Uint8(key string, i uint8) Context { method Uints8 (line 302) | func (c Context) Uints8(key string, i []uint8) Context { method Uint16 (line 308) | func (c Context) Uint16(key string, i uint16) Context { method Uints16 (line 314) | func (c Context) Uints16(key string, i []uint16) Context { method Uint32 (line 320) | func (c Context) Uint32(key string, i uint32) Context { method Uints32 (line 326) | func (c Context) Uints32(key string, i []uint32) Context { method Uint64 (line 332) | func (c Context) Uint64(key string, i uint64) Context { method Uints64 (line 338) | func (c Context) Uints64(key string, i []uint64) Context { method Float32 (line 344) | func (c Context) Float32(key string, f float32) Context { method Floats32 (line 350) | func (c Context) Floats32(key string, f []float32) Context { method Float64 (line 356) | func (c Context) Float64(key string, f float64) Context { method Floats64 (line 362) | func (c Context) Floats64(key string, f []float64) Context { method Timestamp (line 380) | func (c Context) Timestamp() Context { method Time (line 386) | func (c Context) Time(key string, t time.Time) Context { method Times (line 392) | func (c Context) Times(key string, t []time.Time) Context { method Dur (line 398) | func (c Context) Dur(key string, d time.Duration) Context { method Durs (line 404) | func (c Context) Durs(key string, d []time.Duration) Context { method Interface (line 410) | func (c Context) Interface(key string, i interface{}) Context { method Type (line 419) | func (c Context) Type(key string, val interface{}) Context { method Any (line 425) | func (c Context) Any(key string, i interface{}) Context { method Reset (line 430) | func (c Context) Reset() Context { method Caller (line 462) | func (c Context) Caller() Context { method CallerWithSkipFrameCount (line 470) | func (c Context) CallerWithSkipFrameCount(skipFrameCount int) Context { method Stack (line 476) | func (c Context) Stack() Context { method IPAddr (line 482) | func (c Context) IPAddr(key string, ip net.IP) Context { method IPAddrs (line 488) | func (c Context) IPAddrs(key string, ip []net.IP) Context { method IPPrefix (line 494) | func (c Context) IPPrefix(key string, pfx net.IPNet) Context { method IPPrefixes (line 500) | func (c Context) IPPrefixes(key string, pfx []net.IPNet) Context { method MACAddr (line 506) | func (c Context) MACAddr(key string, ha net.HardwareAddr) Context { type timestampHook (line 367) | type timestampHook struct method Run (line 369) | func (ts timestampHook) Run(e *Event, level Level, msg string) { type callerHook (line 435) | type callerHook struct method Run (line 443) | func (ch callerHook) Run(e *Event, level Level, msg string) { function newCallerHook (line 439) | func newCallerHook(skipFrameCount int) callerHook { constant useGlobalSkipFrameCount (line 456) | useGlobalSkipFrameCount = math.MinInt32 FILE: context_test.go type myError (line 9) | type myError struct method Error (line 11) | func (e *myError) Error() string { return "test" } function TestContext_ErrWithStackMarshaler (line 13) | func TestContext_ErrWithStackMarshaler(t *testing.T) { function TestContext_AnErrWithNilErrorMarshal (line 35) | func TestContext_AnErrWithNilErrorMarshal(t *testing.T) { function TestContext_ErrWithNilStackMarshaler (line 57) | func TestContext_ErrWithNilStackMarshaler(t *testing.T) { function TestContext_ErrWithStackMarshalerObject (line 79) | func TestContext_ErrWithStackMarshalerObject(t *testing.T) { function TestContext_ErrWithStackMarshalerError (line 101) | func TestContext_ErrWithStackMarshalerError(t *testing.T) { function TestContext_ErrWithStackMarshalerInterface (line 123) | func TestContext_ErrWithStackMarshalerInterface(t *testing.T) { FILE: ctx.go function init (line 9) | func init() { type ctxKey (line 15) | type ctxKey struct method WithContext (line 33) | func (l Logger) WithContext(ctx context.Context) context.Context { function Ctx (line 44) | func Ctx(ctx context.Context) *Logger { FILE: ctx_test.go function TestCtx (line 14) | func TestCtx(t *testing.T) { function TestCtxDisabled (line 43) | func TestCtxDisabled(t *testing.T) { type logObjectMarshalerImpl (line 76) | type logObjectMarshalerImpl struct method MarshalZerologObject (line 81) | func (t logObjectMarshalerImpl) MarshalZerologObject(e *Event) { function Test_InterfaceLogObjectMarshaler (line 85) | func Test_InterfaceLogObjectMarshaler(t *testing.T) { FILE: diode/diode.go type Alerter (line 20) | type Alerter type diodeFetcher (line 22) | type diodeFetcher interface type Writer (line 29) | type Writer struct method Write (line 74) | func (dw Writer) Write(p []byte) (n int, err error) { method Close (line 84) | func (dw Writer) Close() error { method poll (line 93) | func (dw Writer) poll() { function NewWriter (line 51) | func NewWriter(w io.Writer, size int, pollInterval time.Duration, f Aler... FILE: diode/diode_example_test.go function ExampleNewWriter (line 13) | func ExampleNewWriter() { FILE: diode/diode_test.go function TestNewWriter (line 19) | func TestNewWriter(t *testing.T) { function TestClose (line 35) | func TestClose(t *testing.T) { function TestFatal (line 43) | func TestFatal(t *testing.T) { type SlowWriter (line 90) | type SlowWriter struct method Write (line 92) | func (rw *SlowWriter) Write(p []byte) (n int, err error) { function TestFatalWithFilteredLevelWriter (line 98) | func TestFatalWithFilteredLevelWriter(t *testing.T) { function Benchmark (line 150) | func Benchmark(b *testing.B) { FILE: diode/internal/diodes/many_to_one.go type ManyToOne (line 11) | type ManyToOne struct method Set (line 41) | func (d *ManyToOne) Set(data GenericDataType) { method TryNext (line 70) | func (d *ManyToOne) TryNext() (data GenericDataType, ok bool) { function NewManyToOne (line 23) | func NewManyToOne(size int, alerter Alerter) *ManyToOne { FILE: diode/internal/diodes/one_to_one.go type GenericDataType (line 9) | type GenericDataType type Alerter (line 13) | type Alerter interface type AlertFunc (line 19) | type AlertFunc method Alert (line 22) | func (f AlertFunc) Alert(missed int) { type bucket (line 26) | type bucket struct type OneToOne (line 33) | type OneToOne struct method Set (line 56) | func (d *OneToOne) Set(data GenericDataType) { method TryNext (line 70) | func (d *OneToOne) TryNext() (data GenericDataType, ok bool) { function NewOneToOne (line 44) | func NewOneToOne(size int, alerter Alerter) *OneToOne { FILE: diode/internal/diodes/poller.go type Diode (line 9) | type Diode interface type Poller (line 15) | type Poller struct method Next (line 58) | func (p *Poller) Next() GenericDataType { method isDone (line 73) | func (p *Poller) isDone() bool { type PollerConfigOption (line 22) | type PollerConfigOption function WithPollingInterval (line 26) | func WithPollingInterval(interval time.Duration) PollerConfigOption { function WithPollingContext (line 35) | func WithPollingContext(ctx context.Context) PollerConfigOption { function NewPoller (line 42) | func NewPoller(d Diode, opts ...PollerConfigOption) *Poller { FILE: diode/internal/diodes/waiter.go type Waiter (line 10) | type Waiter struct method Set (line 55) | func (w *Waiter) Set(data GenericDataType) { method Next (line 63) | func (w *Waiter) Next() GenericDataType { method isDone (line 81) | func (w *Waiter) isDone() bool { type WaiterConfigOption (line 18) | type WaiterConfigOption function WithWaiterContext (line 23) | func WithWaiterContext(ctx context.Context) WaiterConfigOption { function NewWaiter (line 30) | func NewWaiter(d Diode, opts ...WaiterConfigOption) *Waiter { FILE: encoder.go type encoder (line 8) | type encoder interface FILE: encoder_cbor.go function init (line 17) | func init() { function appendJSON (line 24) | func appendJSON(dst []byte, j []byte) []byte { function appendCBOR (line 27) | func appendCBOR(dst []byte, c []byte) []byte { function decodeIfBinaryToString (line 33) | func decodeIfBinaryToString(in []byte) string { function decodeObjectToStr (line 37) | func decodeObjectToStr(in []byte) string { function decodeIfBinaryToBytes (line 43) | func decodeIfBinaryToBytes(in []byte) []byte { FILE: encoder_json.go function init (line 19) | func init() { function appendJSON (line 26) | func appendJSON(dst []byte, j []byte) []byte { function appendCBOR (line 29) | func appendCBOR(dst []byte, cbor []byte) []byte { function decodeIfBinaryToString (line 41) | func decodeIfBinaryToString(in []byte) string { function decodeObjectToStr (line 45) | func decodeObjectToStr(in []byte) string { function decodeIfBinaryToBytes (line 49) | func decodeIfBinaryToBytes(in []byte) []byte { FILE: error_marshal_test.go type loggableError (line 10) | type loggableError struct method MarshalZerologObject (line 14) | func (l loggableError) MarshalZerologObject(e *Event) { type nonLoggableError (line 21) | type nonLoggableError struct type wrappedError (line 26) | type wrappedError struct method Error (line 31) | func (w wrappedError) Error() string { type interfaceError (line 38) | type interfaceError struct function TestArrayErrorMarshalFunc (line 42) | func TestArrayErrorMarshalFunc(t *testing.T) { FILE: event.go type Event (line 23) | type Event struct method write (line 81) | func (e *Event) write() (err error) { method Enabled (line 98) | func (e *Event) Enabled() bool { method Discard (line 103) | func (e *Event) Discard() *Event { method Msg (line 115) | func (e *Event) Msg(msg string) { method Send (line 125) | func (e *Event) Send() { method Msgf (line 136) | func (e *Event) Msgf(format string, v ...interface{}) { method MsgFunc (line 143) | func (e *Event) MsgFunc(createMsg func() string) { method msg (line 150) | func (e *Event) msg(msg string) { method Fields (line 172) | func (e *Event) Fields(fields interface{}) *Event { method Dict (line 182) | func (e *Event) Dict(key string, dict *Event) *Event { method CreateDict (line 195) | func (e *Event) CreateDict() *Event { method CreateArray (line 216) | func (e *Event) CreateArray() *Array { method Array (line 229) | func (e *Event) Array(key string, arr LogArrayMarshaler) *Event { method appendObject (line 245) | func (e *Event) appendObject(obj LogObjectMarshaler) { method Object (line 252) | func (e *Event) Object(key string, obj LogObjectMarshaler) *Event { method Objects (line 268) | func (e *Event) Objects(key string, objs []LogObjectMarshaler) *Event { method Func (line 284) | func (e *Event) Func(f func(e *Event)) *Event { method EmbedObject (line 292) | func (e *Event) EmbedObject(obj LogObjectMarshaler) *Event { method Str (line 304) | func (e *Event) Str(key, val string) *Event { method Strs (line 313) | func (e *Event) Strs(key string, vals []string) *Event { method Stringer (line 323) | func (e *Event) Stringer(key string, val fmt.Stringer) *Event { method Stringers (line 334) | func (e *Event) Stringers(key string, vals []fmt.Stringer) *Event { method Bytes (line 346) | func (e *Event) Bytes(key string, val []byte) *Event { method Hex (line 355) | func (e *Event) Hex(key string, val []byte) *Event { method RawJSON (line 367) | func (e *Event) RawJSON(key string, b []byte) *Event { method RawCBOR (line 379) | func (e *Event) RawCBOR(key string, b []byte) *Event { method AnErr (line 389) | func (e *Event) AnErr(key string, err error) *Event { method Errs (line 412) | func (e *Event) Errs(key string, errs []error) *Event { method Err (line 428) | func (e *Event) Err(err error) *Event { method Stack (line 454) | func (e *Event) Stack() *Event { method Ctx (line 465) | func (e *Event) Ctx(ctx context.Context) *Event { method GetCtx (line 476) | func (e *Event) GetCtx() context.Context { method Bool (line 484) | func (e *Event) Bool(key string, b bool) *Event { method Bools (line 493) | func (e *Event) Bools(key string, b []bool) *Event { method Int (line 502) | func (e *Event) Int(key string, i int) *Event { method Ints (line 511) | func (e *Event) Ints(key string, i []int) *Event { method Int8 (line 520) | func (e *Event) Int8(key string, i int8) *Event { method Ints8 (line 529) | func (e *Event) Ints8(key string, i []int8) *Event { method Int16 (line 538) | func (e *Event) Int16(key string, i int16) *Event { method Ints16 (line 547) | func (e *Event) Ints16(key string, i []int16) *Event { method Int32 (line 556) | func (e *Event) Int32(key string, i int32) *Event { method Ints32 (line 565) | func (e *Event) Ints32(key string, i []int32) *Event { method Int64 (line 574) | func (e *Event) Int64(key string, i int64) *Event { method Ints64 (line 583) | func (e *Event) Ints64(key string, i []int64) *Event { method Uint (line 592) | func (e *Event) Uint(key string, i uint) *Event { method Uints (line 601) | func (e *Event) Uints(key string, i []uint) *Event { method Uint8 (line 610) | func (e *Event) Uint8(key string, i uint8) *Event { method Uints8 (line 619) | func (e *Event) Uints8(key string, i []uint8) *Event { method Uint16 (line 628) | func (e *Event) Uint16(key string, i uint16) *Event { method Uints16 (line 637) | func (e *Event) Uints16(key string, i []uint16) *Event { method Uint32 (line 646) | func (e *Event) Uint32(key string, i uint32) *Event { method Uints32 (line 655) | func (e *Event) Uints32(key string, i []uint32) *Event { method Uint64 (line 664) | func (e *Event) Uint64(key string, i uint64) *Event { method Uints64 (line 673) | func (e *Event) Uints64(key string, i []uint64) *Event { method Float32 (line 682) | func (e *Event) Float32(key string, f float32) *Event { method Floats32 (line 691) | func (e *Event) Floats32(key string, f []float32) *Event { method Float64 (line 700) | func (e *Event) Float64(key string, f float64) *Event { method Floats64 (line 709) | func (e *Event) Floats64(key string, f []float64) *Event { method Timestamp (line 722) | func (e *Event) Timestamp() *Event { method Time (line 731) | func (e *Event) Time(key string, t time.Time) *Event { method Times (line 740) | func (e *Event) Times(key string, t []time.Time) *Event { method Dur (line 751) | func (e *Event) Dur(key string, d time.Duration) *Event { method Durs (line 762) | func (e *Event) Durs(key string, d []time.Duration) *Event { method TimeDiff (line 773) | func (e *Event) TimeDiff(key string, t time.Time, start time.Time) *Ev... method Any (line 786) | func (e *Event) Any(key string, i interface{}) *Event { method Interface (line 791) | func (e *Event) Interface(key string, i interface{}) *Event { method Type (line 803) | func (e *Event) Type(key string, val interface{}) *Event { method CallerSkipFrame (line 813) | func (e *Event) CallerSkipFrame(skip int) *Event { method Caller (line 824) | func (e *Event) Caller(skip ...int) *Event { method caller (line 832) | func (e *Event) caller(skip int) *Event { method IPAddr (line 843) | func (e *Event) IPAddr(key string, ip net.IP) *Event { method IPAddrs (line 852) | func (e *Event) IPAddrs(key string, ip []net.IP) *Event { method IPPrefix (line 861) | func (e *Event) IPPrefix(key string, pfx net.IPNet) *Event { method IPPrefixes (line 870) | func (e *Event) IPPrefixes(key string, pfx []net.IPNet) *Event { method MACAddr (line 879) | func (e *Event) MACAddr(key string, ha net.HardwareAddr) *Event { function putEvent (line 34) | func putEvent(e *Event) { type LogObjectMarshaler (line 58) | type LogObjectMarshaler interface type LogArrayMarshaler (line 64) | type LogArrayMarshaler interface function newEvent (line 68) | func newEvent(w LevelWriter, level Level, stack bool, ctx context.Contex... function Dict (line 208) | func Dict() *Event { FILE: event_test.go type nilError (line 16) | type nilError struct method Error (line 18) | func (nilError) Error() string { function TestEvent_AnErr (line 22) | func TestEvent_AnErr(t *testing.T) { function TestEvent_writeWithNil (line 49) | func TestEvent_writeWithNil(t *testing.T) { type loggableObject (line 59) | type loggableObject struct method MarshalZerologObject (line 63) | func (o loggableObject) MarshalZerologObject(e *Event) { function TestEvent_Object (line 67) | func TestEvent_Object(t *testing.T) { function TestEvent_WithNilEvent (line 159) | func TestEvent_WithNilEvent(t *testing.T) { function TestEvent_MsgFunc (line 370) | func TestEvent_MsgFunc(t *testing.T) { function TestEvent_CallerRuntimeFail (line 390) | func TestEvent_CallerRuntimeFail(t *testing.T) { function TestEvent_DoneHandler (line 407) | func TestEvent_DoneHandler(t *testing.T) { type badLevelWriter (line 430) | type badLevelWriter struct method WriteLevel (line 434) | func (w *badLevelWriter) WriteLevel(level Level, p []byte) (n int, err... method Write (line 438) | func (w *badLevelWriter) Write(p []byte) (n int, err error) { function TestEvent_Msg_ErrorHandlerNil (line 442) | func TestEvent_Msg_ErrorHandlerNil(t *testing.T) { type mockLogObjectMarshaler (line 482) | type mockLogObjectMarshaler struct method MarshalZerologObject (line 486) | func (m mockLogObjectMarshaler) MarshalZerologObject(e *Event) { function TestEvent_ErrWithStackMarshaler (line 490) | func TestEvent_ErrWithStackMarshaler(t *testing.T) { function TestEvent_FieldsWithErrorAndStackMarshaler (line 513) | func TestEvent_FieldsWithErrorAndStackMarshaler(t *testing.T) { function TestEvent_FieldsWithErrorAndStackMarshalerObject (line 536) | func TestEvent_FieldsWithErrorAndStackMarshalerObject(t *testing.T) { function TestEvent_FieldsWithErrorAndStackMarshalerError (line 559) | func TestEvent_FieldsWithErrorAndStackMarshalerError(t *testing.T) { function TestEvent_FieldsWithErrorAndStackMarshalerInterface (line 582) | func TestEvent_FieldsWithErrorAndStackMarshalerInterface(t *testing.T) { function TestEvent_FieldsWithErrorAndStackMarshalerNil (line 605) | func TestEvent_FieldsWithErrorAndStackMarshalerNil(t *testing.T) { function TestEvent_ErrWithStackMarshalerObject (line 628) | func TestEvent_ErrWithStackMarshalerObject(t *testing.T) { function TestEvent_ErrWithStackMarshalerError (line 651) | func TestEvent_ErrWithStackMarshalerError(t *testing.T) { function TestEvent_ErrWithStackMarshalerInterface (line 674) | func TestEvent_ErrWithStackMarshalerInterface(t *testing.T) { function TestEvent_ErrWithStackMarshalerNil (line 697) | func TestEvent_ErrWithStackMarshalerNil(t *testing.T) { FILE: fields.go function isNilValue (line 13) | func isNilValue(e error) bool { function appendFields (line 22) | func appendFields(dst []byte, fields interface{}, stack bool, ctx contex... function appendObject (line 44) | func appendObject(dst []byte, obj LogObjectMarshaler, stack bool, ctx co... function appendFieldList (line 53) | func appendFieldList(dst []byte, kvList []interface{}, stack bool, ctx c... FILE: fixtures_test.go type fixtureObj (line 12) | type fixtureObj struct method MarshalZerologObject (line 18) | func (o fixtureObj) MarshalZerologObject(e *Event) { type fieldFixtures (line 24) | type fieldFixtures struct function makeFieldFixtures (line 59) | func makeFieldFixtures() *fieldFixtures { FILE: globals.go constant TimeFormatUnix (line 14) | TimeFormatUnix = "" constant TimeFormatUnixMs (line 18) | TimeFormatUnixMs = "UNIXMS" constant TimeFormatUnixMicro (line 22) | TimeFormatUnixMicro = "UNIXMICRO" constant TimeFormatUnixNano (line 26) | TimeFormatUnixNano = "UNIXNANO" constant DurationFormatFloat (line 30) | DurationFormatFloat = "float" constant DurationFormatInt (line 33) | DurationFormatInt = "int" constant DurationFormatString (line 36) | DurationFormatString = "string" function SetGlobalLevel (line 188) | func SetGlobalLevel(l Level) { function GlobalLevel (line 193) | func GlobalLevel() Level { function DisableSampling (line 198) | func DisableSampling(v bool) { function samplingDisabled (line 206) | func samplingDisabled() bool { FILE: go112.go constant contextCallerSkipFrameCount (line 7) | contextCallerSkipFrameCount = 2 FILE: hlog/hlog.go function FromRequest (line 19) | func FromRequest(r *http.Request) *zerolog.Logger { function NewHandler (line 24) | func NewHandler(log zerolog.Logger) func(http.Handler) http.Handler { function URLHandler (line 38) | func URLHandler(fieldKey string) func(next http.Handler) http.Handler { function MethodHandler (line 52) | func MethodHandler(fieldKey string) func(next http.Handler) http.Handler { function RequestHandler (line 66) | func RequestHandler(fieldKey string) func(next http.Handler) http.Handler { function RemoteAddrHandler (line 80) | func RemoteAddrHandler(fieldKey string) func(next http.Handler) http.Han... function getHost (line 94) | func getHost(hostPort string) string { function RemoteIPHandler (line 108) | func RemoteIPHandler(fieldKey string) func(next http.Handler) http.Handl... function UserAgentHandler (line 125) | func UserAgentHandler(fieldKey string) func(next http.Handler) http.Hand... function RefererHandler (line 141) | func RefererHandler(fieldKey string) func(next http.Handler) http.Handler { function ProtoHandler (line 157) | func ProtoHandler(fieldKey string) func(next http.Handler) http.Handler { function HTTPVersionHandler (line 171) | func HTTPVersionHandler(fieldKey string) func(next http.Handler) http.Ha... type idKey (line 184) | type idKey struct function IDFromRequest (line 187) | func IDFromRequest(r *http.Request) (id xid.ID, ok bool) { function IDFromCtx (line 195) | func IDFromCtx(ctx context.Context) (id xid.ID, ok bool) { function CtxWithID (line 201) | func CtxWithID(ctx context.Context, id xid.ID) context.Context { function RequestIDHandler (line 214) | func RequestIDHandler(fieldKey, headerName string) func(next http.Handle... function CustomHeaderHandler (line 240) | func CustomHeaderHandler(fieldKey, header string) func(next http.Handler... function EtagHandler (line 256) | func EtagHandler(fieldKey string) func(next http.Handler) http.Handler { function ResponseHeaderHandler (line 274) | func ResponseHeaderHandler(fieldKey, headerName string) func(next http.H... function AccessHandler (line 292) | func AccessHandler(f func(r *http.Request, status, size int, duration ti... function HostHandler (line 308) | func HostHandler(fieldKey string, trimPort ...bool) func(next http.Handl... FILE: hlog/hlog_example_test.go type middleware (line 17) | type middleware type alice (line 18) | type alice struct method Append (line 22) | func (a alice) Append(m middleware) alice { method Then (line 26) | func (a alice) Then(h http.Handler) http.Handler { function init (line 33) | func init() { function Example_handler (line 39) | func Example_handler() { FILE: hlog/hlog_test.go function decodeIfBinary (line 22) | func decodeIfBinary(out *bytes.Buffer) string { function TestNewHandler (line 30) | func TestNewHandler(t *testing.T) { function TestURLHandler (line 44) | func TestURLHandler(t *testing.T) { function TestMethodHandler (line 60) | func TestMethodHandler(t *testing.T) { function TestRequestHandler (line 76) | func TestRequestHandler(t *testing.T) { function TestRemoteAddrHandler (line 93) | func TestRemoteAddrHandler(t *testing.T) { function TestRemoteAddrHandlerIPv6 (line 109) | func TestRemoteAddrHandlerIPv6(t *testing.T) { function TestRemoteIPHandler (line 125) | func TestRemoteIPHandler(t *testing.T) { function TestRemoteIPHandlerIPv6 (line 141) | func TestRemoteIPHandlerIPv6(t *testing.T) { function TestUserAgentHandler (line 157) | func TestUserAgentHandler(t *testing.T) { function TestRefererHandler (line 175) | func TestRefererHandler(t *testing.T) { function TestRequestIDHandler (line 193) | func TestRequestIDHandler(t *testing.T) { function TestCustomHeaderHandler (line 218) | func TestCustomHeaderHandler(t *testing.T) { function TestEtagHandler (line 236) | func TestEtagHandler(t *testing.T) { function TestResponseHeaderHandler (line 256) | func TestResponseHeaderHandler(t *testing.T) { function TestProtoHandler (line 276) | func TestProtoHandler(t *testing.T) { function TestHTTPVersionHandler (line 292) | func TestHTTPVersionHandler(t *testing.T) { function TestCombinedHandlers (line 308) | func TestCombinedHandlers(t *testing.T) { function BenchmarkHandlers (line 325) | func BenchmarkHandlers(b *testing.B) { function BenchmarkDataRace (line 351) | func BenchmarkDataRace(b *testing.B) { function TestCtxWithID (line 371) | func TestCtxWithID(t *testing.T) { function TestHostHandler (line 384) | func TestHostHandler(t *testing.T) { function TestHostHandlerWithoutPort (line 398) | func TestHostHandlerWithoutPort(t *testing.T) { function TestGetHost (line 412) | func TestGetHost(t *testing.T) { FILE: hlog/internal/mutil/writer_proxy.go type WriterProxy (line 12) | type WriterProxy interface function WrapWriter (line 32) | func WrapWriter(w http.ResponseWriter) WriterProxy { type basicWriter (line 50) | type basicWriter struct method WriteHeader (line 58) | func (b *basicWriter) WriteHeader(code int) { method Write (line 66) | func (b *basicWriter) Write(buf []byte) (int, error) { method maybeWriteHeader (line 80) | func (b *basicWriter) maybeWriteHeader() { method Status (line 86) | func (b *basicWriter) Status() int { method BytesWritten (line 90) | func (b *basicWriter) BytesWritten() int { method Tee (line 94) | func (b *basicWriter) Tee(w io.Writer) { method Unwrap (line 98) | func (b *basicWriter) Unwrap() http.ResponseWriter { type fancyWriter (line 106) | type fancyWriter struct method CloseNotify (line 110) | func (f *fancyWriter) CloseNotify() <-chan bool { method Flush (line 115) | func (f *fancyWriter) Flush() { method Hijack (line 120) | func (f *fancyWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) { method ReadFrom (line 125) | func (f *fancyWriter) ReadFrom(r io.Reader) (int64, error) { type flushWriter (line 139) | type flushWriter struct method Flush (line 143) | func (f *flushWriter) Flush() { FILE: hook.go type Hook (line 4) | type Hook interface type HookFunc (line 11) | type HookFunc method Run (line 14) | func (h HookFunc) Run(e *Event, level Level, message string) { type LevelHook (line 19) | type LevelHook struct method Run (line 24) | func (h LevelHook) Run(e *Event, level Level, message string) { function NewLevelHook (line 62) | func NewLevelHook() LevelHook { FILE: hook_test.go type contextKeyType (line 10) | type contextKeyType function TestHook (line 47) | func TestHook(t *testing.T) { function TestLevelHook (line 178) | func TestLevelHook(t *testing.T) { function BenchmarkHooks (line 271) | func BenchmarkHooks(b *testing.B) { FILE: internal/cbor/base.go type Encoder (line 11) | type Encoder struct method AppendKey (line 14) | func (e Encoder) AppendKey(dst []byte, key string) []byte { FILE: internal/cbor/base_test.go function TestAppendKey (line 9) | func TestAppendKey(t *testing.T) { FILE: internal/cbor/cbor.go constant majorOffset (line 8) | majorOffset = 5 constant additionalMax (line 9) | additionalMax = 23 constant additionalTypeBoolFalse (line 12) | additionalTypeBoolFalse byte = 20 constant additionalTypeBoolTrue (line 13) | additionalTypeBoolTrue byte = 21 constant additionalTypeNull (line 14) | additionalTypeNull byte = 22 constant additionalTypeIntUint8 (line 17) | additionalTypeIntUint8 byte = 24 constant additionalTypeIntUint16 (line 18) | additionalTypeIntUint16 byte = 25 constant additionalTypeIntUint32 (line 19) | additionalTypeIntUint32 byte = 26 constant additionalTypeIntUint64 (line 20) | additionalTypeIntUint64 byte = 27 constant additionalTypeFloat16 (line 23) | additionalTypeFloat16 byte = 25 constant additionalTypeFloat32 (line 24) | additionalTypeFloat32 byte = 26 constant additionalTypeFloat64 (line 25) | additionalTypeFloat64 byte = 27 constant additionalTypeBreak (line 26) | additionalTypeBreak byte = 31 constant additionalTypeTimestamp (line 29) | additionalTypeTimestamp byte = 01 constant additionalTypeEmbeddedCBOR (line 30) | additionalTypeEmbeddedCBOR byte = 63 constant additionalTypeTagNetworkAddr (line 33) | additionalTypeTagNetworkAddr uint16 = 260 constant additionalTypeTagNetworkPrefix (line 34) | additionalTypeTagNetworkPrefix uint16 = 261 constant additionalTypeEmbeddedJSON (line 35) | additionalTypeEmbeddedJSON uint16 = 262 constant additionalTypeTagHexString (line 36) | additionalTypeTagHexString uint16 = 263 constant additionalTypeInfiniteCount (line 39) | additionalTypeInfiniteCount byte = 31 constant majorTypeUnsignedInt (line 42) | majorTypeUnsignedInt byte = iota << majorOffset constant majorTypeNegativeInt (line 43) | majorTypeNegativeInt constant majorTypeByteString (line 44) | majorTypeByteString constant majorTypeUtf8String (line 45) | majorTypeUtf8String constant majorTypeArray (line 46) | majorTypeArray constant majorTypeMap (line 47) | majorTypeMap constant majorTypeTags (line 48) | majorTypeTags constant majorTypeSimpleAndFloat (line 49) | majorTypeSimpleAndFloat constant maskOutAdditionalType (line 53) | maskOutAdditionalType byte = (7 << majorOffset) constant maskOutMajorType (line 54) | maskOutMajorType byte = 31 constant float32Nan (line 58) | float32Nan = "\x7f\xc0\x00\x00" constant float32PosInfinity (line 59) | float32PosInfinity = "\x7f\x80\x00\x00" constant float32NegInfinity (line 60) | float32NegInfinity = "\xff\x80\x00\x00" constant float64Nan (line 61) | float64Nan = "\x7f\xf8\x00\x00\x00\x00\x00\x00" constant float64PosInfinity (line 62) | float64PosInfinity = "\x7f\xf0\x00\x00\x00\x00\x00\x00" constant float64NegInfinity (line 63) | float64NegInfinity = "\xff\xf0\x00\x00\x00\x00\x00\x00" function appendCborTypePrefix (line 74) | func appendCborTypePrefix(dst []byte, major byte, number uint64) []byte { FILE: internal/cbor/decode_stream.go constant hexTable (line 22) | hexTable = "0123456789abcdef" constant isFloat32 (line 24) | isFloat32 = 4 constant isFloat64 (line 25) | isFloat64 = 8 function readNBytes (line 27) | func readNBytes(src *bufio.Reader, n int) []byte { function readByte (line 39) | func readByte(src *bufio.Reader) byte { function decodeIntAdditionalType (line 47) | func decodeIntAdditionalType(src *bufio.Reader, minor byte) int64 { function decodeInteger (line 74) | func decodeInteger(src *bufio.Reader) int64 { function decodeFloat (line 88) | func decodeFloat(src *bufio.Reader) (float64, int) { function decodeStringComplex (line 138) | func decodeStringComplex(dst []byte, s string, pos uint) []byte { function decodeString (line 197) | func decodeString(src *bufio.Reader, noQuotes bool) []byte { function decodeStringToDataUrl (line 217) | func decodeStringToDataUrl(src *bufio.Reader, mimeType string) []byte { function decodeUTF8String (line 243) | func decodeUTF8String(src *bufio.Reader) []byte { function array2Json (line 273) | func array2Json(src *bufio.Reader, dst io.Writer) { function map2Json (line 318) | func map2Json(src *bufio.Reader, dst io.Writer) { function decodeTagData (line 368) | func decodeTagData(src *bufio.Reader) []byte { function decodeTimeStamp (line 459) | func decodeTimeStamp(src *bufio.Reader) []byte { function decodeSimpleFloat (line 496) | func decodeSimpleFloat(src *bufio.Reader) []byte { function cbor2JsonOneObject (line 539) | func cbor2JsonOneObject(src *bufio.Reader, dst io.Writer) { function moreBytesToRead (line 577) | func moreBytesToRead(src *bufio.Reader) bool { function Cbor2JsonManyObjects (line 594) | func Cbor2JsonManyObjects(src io.Reader, dst io.Writer) (err error) { function binaryFmt (line 612) | func binaryFmt(p []byte) bool { function getReader (line 619) | func getReader(str string) *bufio.Reader { function DecodeIfBinaryToString (line 625) | func DecodeIfBinaryToString(in []byte) string { function DecodeObjectToStr (line 636) | func DecodeObjectToStr(in []byte) string { function DecodeIfBinaryToBytes (line 647) | func DecodeIfBinaryToBytes(in []byte) []byte { FILE: internal/cbor/decoder_test.go function TestDecodeInteger (line 13) | func TestDecodeInteger(t *testing.T) { function TestDecodeString (line 23) | func TestDecodeString(t *testing.T) { function TestDecodeArray (line 33) | func TestDecodeArray(t *testing.T) { function TestDecodeMap (line 87) | func TestDecodeMap(t *testing.T) { function TestDecodeBool (line 104) | func TestDecodeBool(t *testing.T) { function TestDecodeFloat (line 113) | func TestDecodeFloat(t *testing.T) { function TestDecodeTimestamp (line 161) | func TestDecodeTimestamp(t *testing.T) { function TestDecodeNetworkAddr (line 203) | func TestDecodeNetworkAddr(t *testing.T) { function TestDecodeMACAddr (line 212) | func TestDecodeMACAddr(t *testing.T) { function TestDecodeIPPrefix (line 221) | func TestDecodeIPPrefix(t *testing.T) { function TestDecodeCbor2Json (line 240) | func TestDecodeCbor2Json(t *testing.T) { function TestDecodeNegativeCbor2Json (line 263) | func TestDecodeNegativeCbor2Json(t *testing.T) { function TestBinaryFmt (line 273) | func TestBinaryFmt(t *testing.T) { function TestDecodeIfBinaryToString (line 294) | func TestDecodeIfBinaryToString(t *testing.T) { function TestDecodeObjectToStr (line 327) | func TestDecodeObjectToStr(t *testing.T) { function TestDecodeIfBinaryToBytes (line 360) | func TestDecodeIfBinaryToBytes(t *testing.T) { function TestDecodeEmbeddedCBOR (line 393) | func TestDecodeEmbeddedCBOR(t *testing.T) { function TestDecodeEmbeddedJSON (line 409) | func TestDecodeEmbeddedJSON(t *testing.T) { function TestDecodeHexString (line 440) | func TestDecodeHexString(t *testing.T) { function TestDecodeSimpleFloat (line 456) | func TestDecodeSimpleFloat(t *testing.T) { FILE: internal/cbor/examples/genLog.go function writeLog (line 14) | func writeLog(fname string, count int, useCompress bool) { function main (line 47) | func main() { FILE: internal/cbor/string.go method AppendStrings (line 6) | func (e Encoder) AppendStrings(dst []byte, vals []string) []byte { method AppendString (line 22) | func (Encoder) AppendString(dst []byte, s string) []byte { method AppendStringers (line 37) | func (e Encoder) AppendStringers(dst []byte, vals []fmt.Stringer) []byte { method AppendStringer (line 53) | func (e Encoder) AppendStringer(dst []byte, val fmt.Stringer) []byte { method AppendBytes (line 61) | func (Encoder) AppendBytes(dst, s []byte) []byte { function AppendEmbeddedJSON (line 75) | func AppendEmbeddedJSON(dst, s []byte) []byte { function AppendEmbeddedCBOR (line 98) | func AppendEmbeddedCBOR(dst, s []byte) []byte { FILE: internal/cbor/string_test.go function TestAppendString (line 74) | func TestAppendString(t *testing.T) { function TestAppendStrings (line 94) | func TestAppendStrings(t *testing.T) { function TestAppendStringer (line 142) | func TestAppendStringer(t *testing.T) { function TestAppendStringers (line 164) | func TestAppendStringers(t *testing.T) { function TestAppendBytes (line 179) | func TestAppendBytes(t *testing.T) { function BenchmarkAppendString (line 199) | func BenchmarkAppendString(b *testing.B) { function TestAppendEmbeddedJSON (line 219) | func TestAppendEmbeddedJSON(t *testing.T) { function TestAppendEmbeddedCBOR (line 252) | func TestAppendEmbeddedCBOR(t *testing.T) { FILE: internal/cbor/time.go constant timeFormatUnix (line 9) | timeFormatUnix = "" constant timeFormatUnixMs (line 10) | timeFormatUnixMs = "UNIXMS" constant timeFormatUnixMicro (line 11) | timeFormatUnixMicro = "UNIXMICRO" constant timeFormatUnixNano (line 12) | timeFormatUnixNano = "UNIXNANO" constant durationFormatFloat (line 13) | durationFormatFloat = "float" constant durationFormatInt (line 14) | durationFormatInt = "int" constant durationFormatString (line 15) | durationFormatString = "string" function appendIntegerTimestamp (line 18) | func appendIntegerTimestamp(dst []byte, t time.Time) []byte { method appendFloatTimestamp (line 35) | func (e Encoder) appendFloatTimestamp(dst []byte, t time.Time) []byte { method AppendTime (line 46) | func (e Encoder) AppendTime(dst []byte, t time.Time, unused string) []by... method AppendTimes (line 55) | func (e Encoder) AppendTimes(dst []byte, vals []time.Time, unused string... method AppendDuration (line 77) | func (e Encoder) AppendDuration(dst []byte, d time.Duration, unit time.D... method AppendDurations (line 95) | func (e Encoder) AppendDurations(dst []byte, vals []time.Duration, unit ... FILE: internal/cbor/time_test.go function TestEncoder_AppendDuration (line 15) | func TestEncoder_AppendDuration(t *testing.T) { function TestEncoder_AppendDurations (line 84) | func TestEncoder_AppendDurations(t *testing.T) { function TestAppendTimeNow (line 153) | func TestAppendTimeNow(t *testing.T) { function TestAppendTimePastPresentInteger (line 172) | func TestAppendTimePastPresentInteger(t *testing.T) { function TestAppendTimePastPresentFloat (line 188) | func TestAppendTimePastPresentFloat(t *testing.T) { function TestAppendTimes (line 204) | func TestAppendTimes(t *testing.T) { function TestAppendDurationFloat (line 253) | func TestAppendDurationFloat(t *testing.T) { function TestAppendDurationInteger (line 267) | func TestAppendDurationInteger(t *testing.T) { function TestAppendDurations (line 281) | func TestAppendDurations(t *testing.T) { function BenchmarkAppendTime (line 329) | func BenchmarkAppendTime(b *testing.B) { FILE: internal/cbor/types.go method AppendNil (line 11) | func (Encoder) AppendNil(dst []byte) []byte { method AppendBeginMarker (line 16) | func (Encoder) AppendBeginMarker(dst []byte) []byte { method AppendEndMarker (line 21) | func (Encoder) AppendEndMarker(dst []byte) []byte { method AppendObjectData (line 26) | func (Encoder) AppendObjectData(dst []byte, o []byte) []byte { method AppendArrayStart (line 33) | func (Encoder) AppendArrayStart(dst []byte) []byte { method AppendArrayEnd (line 38) | func (Encoder) AppendArrayEnd(dst []byte) []byte { method AppendArrayDelim (line 43) | func (Encoder) AppendArrayDelim(dst []byte) []byte { method AppendLineBreak (line 49) | func (Encoder) AppendLineBreak(dst []byte) []byte { method AppendBool (line 55) | func (Encoder) AppendBool(dst []byte, val bool) []byte { method AppendBools (line 64) | func (e Encoder) AppendBools(dst []byte, vals []bool) []byte { method AppendInt (line 83) | func (Encoder) AppendInt(dst []byte, val int) []byte { method AppendInts (line 100) | func (e Encoder) AppendInts(dst []byte, vals []int) []byte { method AppendInt8 (line 119) | func (e Encoder) AppendInt8(dst []byte, val int8) []byte { method AppendInts8 (line 124) | func (e Encoder) AppendInts8(dst []byte, vals []int8) []byte { method AppendInt16 (line 143) | func (e Encoder) AppendInt16(dst []byte, val int16) []byte { method AppendInts16 (line 148) | func (e Encoder) AppendInts16(dst []byte, vals []int16) []byte { method AppendInt32 (line 167) | func (e Encoder) AppendInt32(dst []byte, val int32) []byte { method AppendInts32 (line 172) | func (e Encoder) AppendInts32(dst []byte, vals []int32) []byte { method AppendInt64 (line 191) | func (Encoder) AppendInt64(dst []byte, val int64) []byte { method AppendInts64 (line 208) | func (e Encoder) AppendInts64(dst []byte, vals []int64) []byte { method AppendUint (line 227) | func (e Encoder) AppendUint(dst []byte, val uint) []byte { method AppendUints (line 232) | func (e Encoder) AppendUints(dst []byte, vals []uint) []byte { method AppendUint8 (line 251) | func (e Encoder) AppendUint8(dst []byte, val uint8) []byte { method AppendUints8 (line 256) | func (e Encoder) AppendUints8(dst []byte, vals []uint8) []byte { method AppendUint16 (line 275) | func (e Encoder) AppendUint16(dst []byte, val uint16) []byte { method AppendUints16 (line 280) | func (e Encoder) AppendUints16(dst []byte, vals []uint16) []byte { method AppendUint32 (line 299) | func (e Encoder) AppendUint32(dst []byte, val uint32) []byte { method AppendUints32 (line 304) | func (e Encoder) AppendUints32(dst []byte, vals []uint32) []byte { method AppendUint64 (line 323) | func (Encoder) AppendUint64(dst []byte, val uint64) []byte { method AppendUints64 (line 336) | func (e Encoder) AppendUints64(dst []byte, vals []uint64) []byte { method AppendFloat32 (line 355) | func (Encoder) AppendFloat32(dst []byte, val float32, unused int) []byte { method AppendFloats32 (line 375) | func (e Encoder) AppendFloats32(dst []byte, vals []float32, unused int) ... method AppendFloat64 (line 394) | func (Encoder) AppendFloat64(dst []byte, val float64, unused int) []byte { method AppendFloats64 (line 415) | func (e Encoder) AppendFloats64(dst []byte, vals []float64, unused int) ... method AppendInterface (line 434) | func (e Encoder) AppendInterface(dst []byte, i interface{}) []byte { method AppendType (line 443) | func (e Encoder) AppendType(dst []byte, i interface{}) []byte { method AppendIPAddr (line 451) | func (e Encoder) AppendIPAddr(dst []byte, ip net.IP) []byte { method AppendIPAddrs (line 459) | func (e Encoder) AppendIPAddrs(dst []byte, ips []net.IP) []byte { method AppendIPPrefix (line 478) | func (e Encoder) AppendIPPrefix(dst []byte, pfx net.IPNet) []byte { method AppendIPPrefixes (line 492) | func (e Encoder) AppendIPPrefixes(dst []byte, pfxs []net.IPNet) []byte { method AppendMACAddr (line 511) | func (e Encoder) AppendMACAddr(dst []byte, ha net.HardwareAddr) []byte { method AppendHex (line 519) | func (e Encoder) AppendHex(dst []byte, val []byte) []byte { FILE: internal/cbor/types_64_test.go function TestAppendInt_64bit (line 24) | func TestAppendInt_64bit(t *testing.T) { FILE: internal/cbor/types_test.go function TestAppendNil (line 16) | func TestAppendNil(t *testing.T) { function TestAppendBeginMarker (line 25) | func TestAppendBeginMarker(t *testing.T) { function TestAppendEndMarker (line 34) | func TestAppendEndMarker(t *testing.T) { function TestAppendObjectData (line 43) | func TestAppendObjectData(t *testing.T) { function TestAppendArrayDelim (line 53) | func TestAppendArrayDelim(t *testing.T) { function TestAppendLineBreak (line 62) | func TestAppendLineBreak(t *testing.T) { function TestAppendInterface (line 72) | func TestAppendInterface(t *testing.T) { function TestAppendType (line 109) | func TestAppendType(t *testing.T) { function TestAppendBool (line 136) | func TestAppendBool(t *testing.T) { function TestAppendBoolArray (line 148) | func TestAppendBoolArray(t *testing.T) { function TestAppendInt8 (line 188) | func TestAppendInt8(t *testing.T) { function TestAppendInts8 (line 203) | func TestAppendInts8(t *testing.T) { function TestAppendInt16 (line 251) | func TestAppendInt16(t *testing.T) { function TestAppendInts16 (line 266) | func TestAppendInts16(t *testing.T) { function TestAppendInt32 (line 314) | func TestAppendInt32(t *testing.T) { function TestAppendInts32 (line 329) | func TestAppendInts32(t *testing.T) { function TestAppendInt64 (line 377) | func TestAppendInt64(t *testing.T) { function TestAppendInts64 (line 389) | func TestAppendInts64(t *testing.T) { function TestAppendInt (line 434) | func TestAppendInt(t *testing.T) { function TestAppendInts (line 446) | func TestAppendInts(t *testing.T) { function TestAppendUint8 (line 491) | func TestAppendUint8(t *testing.T) { function TestAppendUints8 (line 506) | func TestAppendUints8(t *testing.T) { function TestAppendUint16 (line 554) | func TestAppendUint16(t *testing.T) { function TestAppendUints16 (line 570) | func TestAppendUints16(t *testing.T) { function TestAppendUint32 (line 618) | func TestAppendUint32(t *testing.T) { function TestAppendUints32 (line 634) | func TestAppendUints32(t *testing.T) { function TestAppendUint64 (line 682) | func TestAppendUint64(t *testing.T) { function TestAppendUints64 (line 695) | func TestAppendUints64(t *testing.T) { function TestAppendUint (line 740) | func TestAppendUint(t *testing.T) { function TestAppendUints (line 756) | func TestAppendUints(t *testing.T) { function TestAppendIntArray (line 805) | func TestAppendIntArray(t *testing.T) { function TestAppendFloat32 (line 817) | func TestAppendFloat32(t *testing.T) { function TestAppendFloats32 (line 830) | func TestAppendFloats32(t *testing.T) { function TestAppendFloat64 (line 871) | func TestAppendFloat64(t *testing.T) { function TestAppendFloats64 (line 883) | func TestAppendFloats64(t *testing.T) { function TestAppendNetworkAddr (line 924) | func TestAppendNetworkAddr(t *testing.T) { function TestAppendIPAddrArray (line 936) | func TestAppendIPAddrArray(t *testing.T) { function TestAppendMACAddr (line 964) | func TestAppendMACAddr(t *testing.T) { function TestAppendIPPrefix (line 976) | func TestAppendIPPrefix(t *testing.T) { function TestAppendIPPrefixArray (line 988) | func TestAppendIPPrefixArray(t *testing.T) { function TestAppendHex (line 1016) | func TestAppendHex(t *testing.T) { function BenchmarkAppendInt (line 1042) | func BenchmarkAppendInt(b *testing.B) { function BenchmarkAppendFloat (line 1088) | func BenchmarkAppendFloat(b *testing.B) { FILE: internal/json/base.go type Encoder (line 11) | type Encoder struct method AppendKey (line 14) | func (e Encoder) AppendKey(dst []byte, key string) []byte { FILE: internal/json/base_test.go function TestAppendKey (line 8) | func TestAppendKey(t *testing.T) { FILE: internal/json/bytes.go method AppendBytes (line 6) | func (Encoder) AppendBytes(dst, s []byte) []byte { method AppendHex (line 23) | func (Encoder) AppendHex(dst, s []byte) []byte { function appendBytesComplex (line 33) | func appendBytesComplex(dst, s []byte, i int) []byte { FILE: internal/json/bytes_test.go function TestAppendBytes (line 12) | func TestAppendBytes(t *testing.T) { function TestAppendHex (line 21) | func TestAppendHex(t *testing.T) { function TestStringBytes (line 30) | func TestStringBytes(t *testing.T) { function BenchmarkAppendBytes (line 67) | func BenchmarkAppendBytes(b *testing.B) { FILE: internal/json/float_test.go function TestEncoder_AppendFloat64 (line 101) | func TestEncoder_AppendFloat64(t *testing.T) { function FuzzEncoder_AppendFloat64 (line 113) | func FuzzEncoder_AppendFloat64(f *testing.F) { function TestEncoder_AppendFloat32 (line 247) | func TestEncoder_AppendFloat32(t *testing.T) { function FuzzEncoder_AppendFloat32 (line 259) | func FuzzEncoder_AppendFloat32(f *testing.F) { function generateFloat32s (line 307) | func generateFloat32s(n int) []float32 { function generateFloat64s (line 315) | func generateFloat64s(n int) []float64 { function TestAppendFloats32 (line 323) | func TestAppendFloats32(t *testing.T) { function TestAppendFloats64 (line 365) | func TestAppendFloats64(t *testing.T) { function BenchmarkEncoder_AppendFloat32 (line 408) | func BenchmarkEncoder_AppendFloat32(b *testing.B) { function BenchmarkEncoder_AppendFloat64 (line 422) | func BenchmarkEncoder_AppendFloat64(b *testing.B) { FILE: internal/json/int_test.go function TestAppendInts8 (line 12) | func TestAppendInts8(t *testing.T) { function TestAppendUints8 (line 45) | func TestAppendUints8(t *testing.T) { function TestAppendInts16 (line 78) | func TestAppendInts16(t *testing.T) { function TestAppendUints16 (line 111) | func TestAppendUints16(t *testing.T) { function TestAppendInts32 (line 144) | func TestAppendInts32(t *testing.T) { function TestAppendUints32 (line 177) | func TestAppendUints32(t *testing.T) { function TestAppendInt64 (line 211) | func TestAppendInt64(t *testing.T) { function TestAppendUints64 (line 241) | func TestAppendUints64(t *testing.T) { function TestAppendInt (line 272) | func TestAppendInt(t *testing.T) { function TestAppendUint (line 284) | func TestAppendUint(t *testing.T) { function TestAppendInts (line 297) | func TestAppendInts(t *testing.T) { function TestAppendUints (line 327) | func TestAppendUints(t *testing.T) { FILE: internal/json/string.go constant hexCharacters (line 8) | hexCharacters = "0123456789abcdef" function init (line 12) | func init() { method AppendStrings (line 20) | func (e Encoder) AppendStrings(dst []byte, vals []string) []byte { method AppendString (line 44) | func (Encoder) AppendString(dst []byte, s string) []byte { method AppendStringers (line 68) | func (e Encoder) AppendStringers(dst []byte, vals []fmt.Stringer) []byte { method AppendStringer (line 84) | func (e Encoder) AppendStringer(dst []byte, val fmt.Stringer) []byte { function appendStringComplex (line 94) | func appendStringComplex(dst []byte, s string, i int) []byte { FILE: internal/json/string_test.go function TestAppendString (line 9) | func TestAppendString(t *testing.T) { function TestAppendStrings (line 18) | func TestAppendStrings(t *testing.T) { function TestAppendStringer (line 27) | func TestAppendStringer(t *testing.T) { function TestAppendStringers (line 45) | func TestAppendStringers(t *testing.T) { function BenchmarkAppendString (line 54) | func BenchmarkAppendString(b *testing.B) { FILE: internal/json/time.go constant timeFormatUnix (line 10) | timeFormatUnix = "" constant timeFormatUnixMs (line 11) | timeFormatUnixMs = "UNIXMS" constant timeFormatUnixMicro (line 12) | timeFormatUnixMicro = "UNIXMICRO" constant timeFormatUnixNano (line 13) | timeFormatUnixNano = "UNIXNANO" constant durationFormatFloat (line 14) | durationFormatFloat = "float" constant durationFormatInt (line 15) | durationFormatInt = "int" constant durationFormatString (line 16) | durationFormatString = "string" method AppendTime (line 21) | func (e Encoder) AppendTime(dst []byte, t time.Time, format string) []by... method AppendTimes (line 37) | func (Encoder) AppendTimes(dst []byte, vals []time.Time, format string) ... function appendUnixTimes (line 62) | func appendUnixTimes(dst []byte, vals []time.Time) []byte { function appendUnixNanoTimes (line 77) | func appendUnixNanoTimes(dst []byte, vals []time.Time, div int64) []byte { method AppendDuration (line 94) | func (e Encoder) AppendDuration(dst []byte, d time.Duration, unit time.D... method AppendDurations (line 111) | func (e Encoder) AppendDurations(dst []byte, vals []time.Duration, unit ... FILE: internal/json/time_test.go function TestEncoder_AppendDuration (line 13) | func TestEncoder_AppendDuration(t *testing.T) { function TestEncoder_AppendDurations (line 82) | func TestEncoder_AppendDurations(t *testing.T) { function TestAppendTimeNow (line 151) | func TestAppendTimeNow(t *testing.T) { function TestAppendTimePastPresentInteger (line 164) | func TestAppendTimePastPresentInteger(t *testing.T) { function TestAppendTimePastPresentFloat (line 207) | func TestAppendTimePastPresentFloat(t *testing.T) { function TestAppendTimes (line 225) | func TestAppendTimes(t *testing.T) { function TestAppendDurationFloat (line 278) | func TestAppendDurationFloat(t *testing.T) { function TestAppendDurationInteger (line 303) | func TestAppendDurationInteger(t *testing.T) { function TestAppendDurations (line 318) | func TestAppendDurations(t *testing.T) { function BenchmarkAppendTime (line 354) | func BenchmarkAppendTime(b *testing.B) { FILE: internal/json/types.go method AppendNil (line 12) | func (Encoder) AppendNil(dst []byte) []byte { method AppendBeginMarker (line 17) | func (Encoder) AppendBeginMarker(dst []byte) []byte { method AppendEndMarker (line 22) | func (Encoder) AppendEndMarker(dst []byte) []byte { method AppendLineBreak (line 27) | func (Encoder) AppendLineBreak(dst []byte) []byte { method AppendArrayStart (line 32) | func (Encoder) AppendArrayStart(dst []byte) []byte { method AppendArrayEnd (line 37) | func (Encoder) AppendArrayEnd(dst []byte) []byte { method AppendArrayDelim (line 42) | func (Encoder) AppendArrayDelim(dst []byte) []byte { method AppendBool (line 51) | func (Encoder) AppendBool(dst []byte, val bool) []byte { method AppendBools (line 57) | func (Encoder) AppendBools(dst []byte, vals []bool) []byte { method AppendInt (line 74) | func (Encoder) AppendInt(dst []byte, val int) []byte { method AppendInts (line 80) | func (Encoder) AppendInts(dst []byte, vals []int) []byte { method AppendInt8 (line 97) | func (Encoder) AppendInt8(dst []byte, val int8) []byte { method AppendInts8 (line 103) | func (Encoder) AppendInts8(dst []byte, vals []int8) []byte { method AppendInt16 (line 120) | func (Encoder) AppendInt16(dst []byte, val int16) []byte { method AppendInts16 (line 126) | func (Encoder) AppendInts16(dst []byte, vals []int16) []byte { method AppendInt32 (line 143) | func (Encoder) AppendInt32(dst []byte, val int32) []byte { method AppendInts32 (line 149) | func (Encoder) AppendInts32(dst []byte, vals []int32) []byte { method AppendInt64 (line 166) | func (Encoder) AppendInt64(dst []byte, val int64) []byte { method AppendInts64 (line 172) | func (Encoder) AppendInts64(dst []byte, vals []int64) []byte { method AppendUint (line 189) | func (Encoder) AppendUint(dst []byte, val uint) []byte { method AppendUints (line 195) | func (Encoder) AppendUints(dst []byte, vals []uint) []byte { method AppendUint8 (line 212) | func (Encoder) AppendUint8(dst []byte, val uint8) []byte { method AppendUints8 (line 218) | func (Encoder) AppendUints8(dst []byte, vals []uint8) []byte { method AppendUint16 (line 235) | func (Encoder) AppendUint16(dst []byte, val uint16) []byte { method AppendUints16 (line 241) | func (Encoder) AppendUints16(dst []byte, vals []uint16) []byte { method AppendUint32 (line 258) | func (Encoder) AppendUint32(dst []byte, val uint32) []byte { method AppendUints32 (line 264) | func (Encoder) AppendUints32(dst []byte, vals []uint32) []byte { method AppendUint64 (line 281) | func (Encoder) AppendUint64(dst []byte, val uint64) []byte { method AppendUints64 (line 287) | func (Encoder) AppendUints64(dst []byte, vals []uint64) []byte { function appendFloat (line 302) | func appendFloat(dst []byte, val float64, bitSize, precision int) []byte { method AppendFloat32 (line 340) | func (Encoder) AppendFloat32(dst []byte, val float32, precision int) []b... method AppendFloats32 (line 346) | func (Encoder) AppendFloats32(dst []byte, vals []float32, precision int)... method AppendFloat64 (line 363) | func (Encoder) AppendFloat64(dst []byte, val float64, precision int) []b... method AppendFloats64 (line 369) | func (Encoder) AppendFloats64(dst []byte, vals []float64, precision int)... method AppendInterface (line 386) | func (e Encoder) AppendInterface(dst []byte, i interface{}) []byte { method AppendType (line 395) | func (e Encoder) AppendType(dst []byte, i interface{}) []byte { method AppendObjectData (line 404) | func (Encoder) AppendObjectData(dst []byte, o []byte) []byte { method AppendIPAddr (line 422) | func (e Encoder) AppendIPAddr(dst []byte, ip net.IP) []byte { method AppendIPAddrs (line 427) | func (e Encoder) AppendIPAddrs(dst []byte, ips []net.IP) []byte { method AppendIPPrefix (line 443) | func (e Encoder) AppendIPPrefix(dst []byte, pfx net.IPNet) []byte { method AppendIPPrefixes (line 448) | func (e Encoder) AppendIPPrefixes(dst []byte, pfxs []net.IPNet) []byte { method AppendMACAddr (line 464) | func (e Encoder) AppendMACAddr(dst []byte, ha net.HardwareAddr) []byte { FILE: internal/json/types_test.go function TestAppendNil (line 16) | func TestAppendNil(t *testing.T) { function TestAppendBeginMarker (line 25) | func TestAppendBeginMarker(t *testing.T) { function TestAppendEndMarker (line 34) | func TestAppendEndMarker(t *testing.T) { function TestAppendArrayStart (line 43) | func TestAppendArrayStart(t *testing.T) { function TestAppendArrayEnd (line 52) | func TestAppendArrayEnd(t *testing.T) { function TestAppendArrayDelim (line 61) | func TestAppendArrayDelim(t *testing.T) { function TestAppendLineBreak (line 78) | func TestAppendLineBreak(t *testing.T) { function interfaceMarshalFunc (line 89) | func interfaceMarshalFunc(v interface{}) ([]byte, error) { function TestAppendInterface (line 105) | func TestAppendInterface(t *testing.T) { function TestAppendType (line 139) | func TestAppendType(t *testing.T) { function TestAppendMAC (line 200) | func TestAppendMAC(t *testing.T) { function TestAppendBool (line 218) | func TestAppendBool(t *testing.T) { function TestAppendBoolArray (line 231) | func TestAppendBoolArray(t *testing.T) { function TestAppendIP (line 281) | func TestAppendIP(t *testing.T) { function TestAppendIPAddrs (line 323) | func TestAppendIPAddrs(t *testing.T) { function TestAppendIPPrefixes (line 342) | func TestAppendIPPrefixes(t *testing.T) { function TestAppendIPPrefix (line 352) | func TestAppendIPPrefix(t *testing.T) { function TestAppendMACAddr (line 386) | func TestAppendMACAddr(t *testing.T) { function TestAppendType2 (line 404) | func TestAppendType2(t *testing.T) { function TestAppendObjectData (line 426) | func TestAppendObjectData(t *testing.T) { FILE: internal/testcases.go type UnsignedIntTestCase (line 107) | type UnsignedIntTestCase struct function unsignedIntegerTestCases (line 125) | func unsignedIntegerTestCases() []UnsignedIntTestCase { function InterfaceMarshalFunc (line 363) | func InterfaceMarshalFunc(v interface{}) ([]byte, error) { FILE: journald/journald.go constant defaultJournalDPrio (line 32) | defaultJournalDPrio = journal.PriNotice function NewJournalDWriter (line 38) | func NewJournalDWriter() io.Writer { type journalWriter (line 42) | type journalWriter struct method Write (line 72) | func (w journalWriter) Write(p []byte) (n int, err error) { function levelToJPrio (line 48) | func levelToJPrio(zLevel string) journal.Priority { FILE: journald/journald_test.go function ExampleNewJournalDWriter (line 14) | func ExampleNewJournalDWriter() { function TestWriteReturnsNoOfWrittenBytes (line 52) | func TestWriteReturnsNoOfWrittenBytes(t *testing.T) { function TestMultiWrite (line 67) | func TestMultiWrite(t *testing.T) { FILE: log.go type Level (line 127) | type Level method String (line 152) | func (l Level) String() string { method UnmarshalText (line 210) | func (l *Level) UnmarshalText(text []byte) error { method MarshalText (line 220) | func (l Level) MarshalText() ([]byte, error) { constant DebugLevel (line 131) | DebugLevel Level = iota constant InfoLevel (line 133) | InfoLevel constant WarnLevel (line 135) | WarnLevel constant ErrorLevel (line 137) | ErrorLevel constant FatalLevel (line 139) | FatalLevel constant PanicLevel (line 141) | PanicLevel constant NoLevel (line 143) | NoLevel constant Disabled (line 145) | Disabled constant TraceLevel (line 148) | TraceLevel Level = -1 function ParseLevel (line 178) | func ParseLevel(levelStr string) (Level, error) { type Logger (line 229) | type Logger struct method Output (line 263) | func (l Logger) Output(w io.Writer) Logger { method With (line 279) | func (l Logger) With() Context { method UpdateContext (line 296) | func (l *Logger) UpdateContext(update func(c Context) Context) { method Level (line 311) | func (l Logger) Level(lvl Level) Logger { method GetLevel (line 317) | func (l Logger) GetLevel() Level { method Sample (line 322) | func (l Logger) Sample(s Sampler) Logger { method Hook (line 328) | func (l Logger) Hook(hooks ...Hook) Logger { method Trace (line 341) | func (l *Logger) Trace() *Event { method Debug (line 348) | func (l *Logger) Debug() *Event { method Info (line 355) | func (l *Logger) Info() *Event { method Warn (line 362) | func (l *Logger) Warn() *Event { method Error (line 369) | func (l *Logger) Error() *Event { method Err (line 377) | func (l *Logger) Err(err error) *Event { method Fatal (line 390) | func (l *Logger) Fatal() *Event { method Panic (line 410) | func (l *Logger) Panic() *Event { method WithLevel (line 419) | func (l *Logger) WithLevel(level Level) *Event { method Log (line 448) | func (l *Logger) Log() *Event { method Print (line 454) | func (l *Logger) Print(v ...interface{}) { method Printf (line 462) | func (l *Logger) Printf(format string, v ...interface{}) { method Println (line 470) | func (l *Logger) Println(v ...interface{}) { method Write (line 478) | func (l Logger) Write(p []byte) (n int, err error) { method newEvent (line 488) | func (l *Logger) newEvent(level Level, done func(string)) *Event { method scratchEvent (line 507) | func (l *Logger) scratchEvent() *Event { method disabled (line 512) | func (l *Logger) disabled() bool { method should (line 517) | func (l *Logger) should(lvl Level) bool { function New (line 246) | func New(w io.Writer) Logger { function Nop (line 258) | func Nop() Logger { FILE: log/log.go function Output (line 17) | func Output(w io.Writer) zerolog.Logger { function With (line 22) | func With() zerolog.Context { function Level (line 27) | func Level(level zerolog.Level) zerolog.Logger { function Sample (line 32) | func Sample(s zerolog.Sampler) zerolog.Logger { function Hook (line 37) | func Hook(h zerolog.Hook) zerolog.Logger { function Err (line 45) | func Err(err error) *zerolog.Event { function Trace (line 52) | func Trace() *zerolog.Event { function Debug (line 59) | func Debug() *zerolog.Event { function Info (line 66) | func Info() *zerolog.Event { function Warn (line 73) | func Warn() *zerolog.Event { function Error (line 80) | func Error() *zerolog.Event { function Fatal (line 88) | func Fatal() *zerolog.Event { function Panic (line 96) | func Panic() *zerolog.Event { function WithLevel (line 103) | func WithLevel(level zerolog.Level) *zerolog.Event { function Log (line 111) | func Log() *zerolog.Event { function Print (line 117) | func Print(v ...interface{}) { function Printf (line 123) | func Printf(format string, v ...interface{}) { function Ctx (line 129) | func Ctx(ctx context.Context) *zerolog.Logger { FILE: log/log_example_test.go function setup (line 21) | func setup() { function ExamplePrint (line 37) | func ExamplePrint() { function ExamplePrintf (line 45) | func ExamplePrintf() { function ExampleLog (line 53) | func ExampleLog() { function ExampleErr (line 61) | func ExampleErr() { function ExampleTrace (line 72) | func ExampleTrace() { function ExampleDebug (line 80) | func ExampleDebug() { function ExampleInfo (line 88) | func ExampleInfo() { function ExampleWarn (line 96) | func ExampleWarn() { function ExampleError (line 104) | func ExampleError() { function ExampleFatal (line 112) | func ExampleFatal() { function ExamplePanic (line 126) | func ExamplePanic() { function Example (line 135) | func Example() { function ExampleOutput (line 160) | func ExampleOutput() { function ExampleWith (line 173) | func ExampleWith() { function ExampleLevel (line 184) | func ExampleLevel() { type valueKeyType (line 195) | type valueKeyType function ExampleLogger_Hook (line 206) | func ExampleLogger_Hook() { function ExampleWithLevel (line 215) | func ExampleWithLevel() { function ExampleCtx (line 226) | func ExampleCtx() { function ExampleSample (line 237) | func ExampleSample() { FILE: log_example_test.go function ExampleNew (line 16) | func ExampleNew() { function ExampleLogger_With (line 23) | func ExampleLogger_With() { function ExampleLogger_Level (line 34) | func ExampleLogger_Level() { function ExampleLogger_Sample (line 43) | func ExampleLogger_Sample() { type LevelNameHook (line 55) | type LevelNameHook struct method Run (line 57) | func (h LevelNameHook) Run(e *zerolog.Event, l zerolog.Level, msg stri... type MessageHook (line 65) | type MessageHook method Run (line 67) | func (h MessageHook) Run(e *zerolog.Event, l zerolog.Level, msg string) { function ExampleLogger_Hook (line 71) | func ExampleLogger_Hook() { function ExampleLogger_Print (line 82) | func ExampleLogger_Print() { function ExampleLogger_Printf (line 90) | func ExampleLogger_Printf() { function ExampleLogger_Println (line 98) | func ExampleLogger_Println() { function ExampleLogger_Trace (line 106) | func ExampleLogger_Trace() { function ExampleLogger_Debug (line 117) | func ExampleLogger_Debug() { function ExampleLogger_Info (line 128) | func ExampleLogger_Info() { function ExampleLogger_Warn (line 139) | func ExampleLogger_Warn() { function ExampleLogger_Error (line 149) | func ExampleLogger_Error() { function ExampleLogger_WithLevel (line 159) | func ExampleLogger_WithLevel() { function ExampleLogger_Write (line 168) | func ExampleLogger_Write() { function ExampleLogger_Log (line 181) | func ExampleLogger_Log() { function ExampleEvent_Dict (line 192) | func ExampleEvent_Dict() { type User (line 207) | type User struct method MarshalZerologObject (line 213) | func (u User) MarshalZerologObject(e *zerolog.Event) { type Price (line 219) | type Price struct method MarshalZerologObject (line 225) | func (p Price) MarshalZerologObject(e *zerolog.Event) { type Users (line 235) | type Users method MarshalZerologArray (line 237) | func (uu Users) MarshalZerologArray(a *zerolog.Array) { function ExampleEvent_Array (line 243) | func ExampleEvent_Array() { function ExampleEvent_Array_object (line 262) | func ExampleEvent_Array_object() { function ExampleEvent_Object (line 279) | func ExampleEvent_Object() { function ExampleEvent_EmbedObject (line 293) | func ExampleEvent_EmbedObject() { function ExampleEvent_Interface (line 306) | func ExampleEvent_Interface() { function ExampleEvent_Dur (line 323) | func ExampleEvent_Dur() { function ExampleEvent_Durs (line 336) | func ExampleEvent_Durs() { function ExampleEvent_Fields_map (line 352) | func ExampleEvent_Fields_map() { function ExampleEvent_Fields_slice (line 368) | func ExampleEvent_Fields_slice() { function ExampleContext_Dict (line 384) | func ExampleContext_Dict() { function ExampleContext_Array (line 398) | func ExampleContext_Array() { function ExampleContext_Array_object (line 412) | func ExampleContext_Array_object() { function ExampleContext_Object (line 429) | func ExampleContext_Object() { function ExampleContext_Objects (line 442) | func ExampleContext_Objects() { function ExampleContext_EmbedObject (line 457) | func ExampleContext_EmbedObject() { function ExampleContext_Interface (line 471) | func ExampleContext_Interface() { function ExampleContext_Dur (line 488) | func ExampleContext_Dur() { function ExampleContext_Durs (line 501) | func ExampleContext_Durs() { function ExampleContext_IPAddr (line 517) | func ExampleContext_IPAddr() { function ExampleContext_IPAddrs (line 528) | func ExampleContext_IPAddrs() { function ExampleContext_IPPrefix (line 539) | func ExampleContext_IPPrefix() { function ExampleContext_IPPrefixes (line 550) | func ExampleContext_IPPrefixes() { function ExampleContext_MACAddr (line 561) | func ExampleContext_MACAddr() { function ExampleContext_Fields_map (line 572) | func ExampleContext_Fields_map() { function ExampleContext_Fields_slice (line 588) | func ExampleContext_Fields_slice() { function ExampleContext_Times (line 604) | func ExampleContext_Times() { FILE: log_test.go function TestLog (line 19) | func TestLog(t *testing.T) { function TestInfo (line 51) | func TestInfo(t *testing.T) { function TestEmptyLevelFieldName (line 83) | func TestEmptyLevelFieldName(t *testing.T) { function TestWith (line 101) | func TestWith(t *testing.T) { function TestStackedWiths (line 159) | func TestStackedWiths(t *testing.T) { function TestWithPlurals (line 173) | func TestWithPlurals(t *testing.T) { function TestWithReset (line 204) | func TestWithReset(t *testing.T) { function TestFieldsMap (line 224) | func TestFieldsMap(t *testing.T) { function TestFieldsMap_Arrays (line 259) | func TestFieldsMap_Arrays(t *testing.T) { function TestWithErr (line 291) | func TestWithErr(t *testing.T) { function TestFieldsErr (line 309) | func TestFieldsErr(t *testing.T) { function TestFieldsErrs (line 324) | func TestFieldsErrs(t *testing.T) { function TestFieldsMapPnt (line 336) | func TestFieldsMapPnt(t *testing.T) { function TestFieldsMapNilPnt (line 362) | func TestFieldsMapNilPnt(t *testing.T) { function TestFieldsSlice (line 408) | func TestFieldsSlice(t *testing.T) { function TestFieldsSliceExtraneous (line 439) | func TestFieldsSliceExtraneous(t *testing.T) { function TestFieldsNotMapSlice (line 455) | func TestFieldsNotMapSlice(t *testing.T) { function TestFields (line 468) | func TestFields(t *testing.T) { function TestFieldsArrayEmpty (line 518) | func TestFieldsArrayEmpty(t *testing.T) { function TestFieldsArraySingleElement (line 548) | func TestFieldsArraySingleElement(t *testing.T) { function TestFieldsArrayMultipleElement (line 578) | func TestFieldsArrayMultipleElement(t *testing.T) { function TestFieldsDisabled (line 608) | func TestFieldsDisabled(t *testing.T) { function TestMsgf (line 649) | func TestMsgf(t *testing.T) { function TestWithAndFieldsCombined (line 658) | func TestWithAndFieldsCombined(t *testing.T) { function TestLevel (line 667) | func TestLevel(t *testing.T) { function TestGetLevel (line 723) | func TestGetLevel(t *testing.T) { function TestSampling (line 741) | func TestSampling(t *testing.T) { function TestDisableSampling (line 753) | func TestDisableSampling(t *testing.T) { function TestDiscard (line 775) | func TestDiscard(t *testing.T) { type levelWriter (line 790) | type levelWriter struct method Write (line 797) | func (lw *levelWriter) Write(p []byte) (int, error) { method WriteLevel (line 801) | func (lw *levelWriter) WriteLevel(lvl Level, p []byte) (int, error) { method Close (line 810) | func (lw *levelWriter) Close() error { function TestLevelWriter (line 814) | func TestLevelWriter(t *testing.T) { function TestDisabledLevel (line 875) | func TestDisabledLevel(t *testing.T) { function TestPanicLevel (line 901) | func TestPanicLevel(t *testing.T) { function TestFatalLevel (line 934) | func TestFatalLevel(t *testing.T) { function TestFatalDisabled (line 972) | func TestFatalDisabled(t *testing.T) { function TestPanicDisabled (line 995) | func TestPanicDisabled(t *testing.T) { function TestLoggerShouldWithNilWriter (line 1014) | func TestLoggerShouldWithNilWriter(t *testing.T) { function TestContextTimestamp (line 1024) | func TestContextTimestamp(t *testing.T) { function TestEventTimestamp (line 1040) | func TestEventTimestamp(t *testing.T) { function TestOutputWithoutTimestamp (line 1056) | func TestOutputWithoutTimestamp(t *testing.T) { function TestOutputWithTimestamp (line 1067) | func TestOutputWithTimestamp(t *testing.T) { function TestOutputWithContext (line 1084) | func TestOutputWithContext(t *testing.T) { function TestCallerMarshalFunc (line 1095) | func TestCallerMarshalFunc(t *testing.T) { function TestLevelFieldMarshalFunc (line 1128) | func TestLevelFieldMarshalFunc(t *testing.T) { type errWriter (line 1164) | type errWriter struct method Write (line 1168) | func (w errWriter) Write(p []byte) (n int, err error) { function TestErrorHandler (line 1172) | func TestErrorHandler(t *testing.T) { function TestUpdateEmptyContext (line 1185) | func TestUpdateEmptyContext(t *testing.T) { function TestUpdateContextOnDisabledLogger (line 1201) | func TestUpdateContextOnDisabledLogger(t *testing.T) { function TestUpdateContextOnNopLogger (line 1217) | func TestUpdateContextOnNopLogger(t *testing.T) { function TestUpdateContextOnZeroValueLogger (line 1234) | func TestUpdateContextOnZeroValueLogger(t *testing.T) { function TestLevel_String (line 1250) | func TestLevel_String(t *testing.T) { function TestLevel_MarshalText (line 1275) | func TestLevel_MarshalText(t *testing.T) { function TestParseLevel (line 1302) | func TestParseLevel(t *testing.T) { function TestUnmarshalTextLevel (line 1339) | func TestUnmarshalTextLevel(t *testing.T) { function TestUnmarshalTextLevelNil (line 1377) | func TestUnmarshalTextLevelNil(t *testing.T) { function TestHTMLNoEscaping (line 1385) | func TestHTMLNoEscaping(t *testing.T) { FILE: not_go112.go constant contextCallerSkipFrameCount (line 5) | contextCallerSkipFrameCount = 3 FILE: pkgerrors/stacktrace.go type state (line 13) | type state struct method Write (line 18) | func (s *state) Write(b []byte) (n int, err error) { method Width (line 24) | func (s *state) Width() (wid int, ok bool) { method Precision (line 29) | func (s *state) Precision() (prec int, ok bool) { method Flag (line 34) | func (s *state) Flag(c int) bool { function frameField (line 38) | func frameField(f errors.Frame, s *state, c rune) string { function MarshalStack (line 46) | func MarshalStack(err error) interface{} { FILE: pkgerrors/stacktrace_test.go function TestLogStack (line 15) | func TestLogStack(t *testing.T) { function TestLogStackFields (line 31) | func TestLogStackFields(t *testing.T) { function TestLogStackFromContext (line 47) | func TestLogStackFromContext(t *testing.T) { function TestLogStackFromContextWith (line 63) | func TestLogStackFromContextWith(t *testing.T) { function BenchmarkLogStack (line 79) | func BenchmarkLogStack(b *testing.B) { FILE: sampler.go type Sampler (line 19) | type Sampler interface type RandomSampler (line 27) | type RandomSampler method Sample (line 30) | func (s RandomSampler) Sample(lvl Level) bool { type BasicSampler (line 42) | type BasicSampler struct method Sample (line 48) | func (s *BasicSampler) Sample(lvl Level) bool { type BurstSampler (line 62) | type BurstSampler struct method Sample (line 77) | func (s *BurstSampler) Sample(lvl Level) bool { method inc (line 89) | func (s *BurstSampler) inc() uint32 { type LevelSampler (line 109) | type LevelSampler struct method Sample (line 113) | func (s LevelSampler) Sample(lvl Level) bool { FILE: sampler_test.go function TestSamplers (line 76) | func TestSamplers(t *testing.T) { function BenchmarkSamplers (line 94) | func BenchmarkSamplers(b *testing.B) { function TestBurst (line 108) | func TestBurst(t *testing.T) { function TestLevelSampler (line 139) | func TestLevelSampler(t *testing.T) { FILE: slog.go type SlogHandler (line 12) | type SlogHandler struct method Enabled (line 27) | func (h *SlogHandler) Enabled(_ context.Context, level slog.Level) bool { method Handle (line 40) | func (h *SlogHandler) Handle(ctx context.Context, record slog.Record) ... method hasTimestampHook (line 77) | func (h *SlogHandler) hasTimestampHook() bool { method WithAttrs (line 88) | func (h *SlogHandler) WithAttrs(attrs []slog.Attr) slog.Handler { method WithGroup (line 99) | func (h *SlogHandler) WithGroup(name string) slog.Handler { method clone (line 112) | func (h *SlogHandler) clone() *SlogHandler { function NewSlogHandler (line 21) | func NewSlogHandler(logger Logger) *SlogHandler { function slogToZerologLevel (line 128) | func slogToZerologLevel(level slog.Level) Level { function zerologToSlogLevel (line 144) | func zerologToSlogLevel(level Level) slog.Level { function joinPrefix (line 167) | func joinPrefix(prefix, key string) string { function appendSlogAttr (line 179) | func appendSlogAttr(event *Event, attr slog.Attr, prefix string) *Event { FILE: slog_test.go function newSlogLogger (line 16) | func newSlogLogger(buf *bytes.Buffer) *slog.Logger { function decodeOutput (line 23) | func decodeOutput(buf *bytes.Buffer) string { function decodeJSON (line 31) | func decodeJSON(t *testing.T, buf *bytes.Buffer) map[string]interface{} { function TestSlogHandler_BasicInfo (line 41) | func TestSlogHandler_BasicInfo(t *testing.T) { function TestSlogHandler_Debug (line 56) | func TestSlogHandler_Debug(t *testing.T) { function TestSlogHandler_Warn (line 72) | func TestSlogHandler_Warn(t *testing.T) { function TestSlogHandler_Error (line 84) | func TestSlogHandler_Error(t *testing.T) { function TestSlogHandler_WithStringAttr (line 96) | func TestSlogHandler_WithStringAttr(t *testing.T) { function TestSlogHandler_WithIntAttr (line 108) | func TestSlogHandler_WithIntAttr(t *testing.T) { function TestSlogHandler_WithBoolAttr (line 120) | func TestSlogHandler_WithBoolAttr(t *testing.T) { function TestSlogHandler_WithFloat64Attr (line 132) | func TestSlogHandler_WithFloat64Attr(t *testing.T) { function TestSlogHandler_WithTimeAttr (line 144) | func TestSlogHandler_WithTimeAttr(t *testing.T) { function TestSlogHandler_WithDurationAttr (line 157) | func TestSlogHandler_WithDurationAttr(t *testing.T) { function TestSlogHandler_WithErrorAttr (line 169) | func TestSlogHandler_WithErrorAttr(t *testing.T) { function TestSlogHandler_WithAttrs (line 181) | func TestSlogHandler_WithAttrs(t *testing.T) { function TestSlogHandler_WithAttrsEmpty (line 206) | func TestSlogHandler_WithAttrsEmpty(t *testing.T) { function TestSlogHandler_WithGroup (line 218) | func TestSlogHandler_WithGroup(t *testing.T) { function TestSlogHandler_WithGroupEmpty (line 237) | func TestSlogHandler_WithGroupEmpty(t *testing.T) { function TestSlogHandler_WithNestedGroups (line 249) | func TestSlogHandler_WithNestedGroups(t *testing.T) { function TestSlogHandler_WithGroupAndAttrs (line 265) | func TestSlogHandler_WithGroupAndAttrs(t *testing.T) { function TestSlogHandler_GroupAttrInRecord (line 286) | func TestSlogHandler_GroupAttrInRecord(t *testing.T) { function TestSlogHandler_LevelFiltering (line 304) | func TestSlogHandler_LevelFiltering(t *testing.T) { function TestSlogHandler_FilteredMessageNotWritten (line 327) | func TestSlogHandler_FilteredMessageNotWritten(t *testing.T) { function TestSlogHandler_MultipleAttrs (line 339) | func TestSlogHandler_MultipleAttrs(t *testing.T) { function TestSlogHandler_LogValuer (line 365) | func TestSlogHandler_LogValuer(t *testing.T) { type testLogValuer (line 381) | type testLogValuer struct method LogValue (line 386) | func (v testLogValuer) LogValue() slog.Value { function TestSlogHandler_WithAttrsImmutability (line 393) | func TestSlogHandler_WithAttrsImmutability(t *testing.T) { function TestSlogHandler_LevelMapping (line 410) | func TestSlogHandler_LevelMapping(t *testing.T) { function TestSlogHandler_EmptyMessage (line 438) | func TestSlogHandler_EmptyMessage(t *testing.T) { function TestSlogHandler_WithContext (line 450) | func TestSlogHandler_WithContext(t *testing.T) { function TestSlogHandler_EnabledRespectsGlobalLevel (line 466) | func TestSlogHandler_EnabledRespectsGlobalLevel(t *testing.T) { function TestSlogHandler_EnabledNilWriter (line 490) | func TestSlogHandler_EnabledNilWriter(t *testing.T) { function TestSlogHandler_HandlePropagatesContext (line 499) | func TestSlogHandler_HandlePropagatesContext(t *testing.T) { function TestSlogHandler_NoDuplicateTimestamp (line 523) | func TestSlogHandler_NoDuplicateTimestamp(t *testing.T) { function TestSlogHandler_TimestampWithoutHook (line 545) | func TestSlogHandler_TimestampWithoutHook(t *testing.T) { FILE: syslog.go constant ceePrefix (line 12) | ceePrefix = "@cee:" type SyslogWriter (line 15) | type SyslogWriter interface type syslogWriter (line 25) | type syslogWriter struct method Write (line 44) | func (sw syslogWriter) Write(p []byte) (n int, err error) { method WriteLevel (line 57) | func (sw syslogWriter) WriteLevel(level Level, p []byte) (n int, err e... method Close (line 84) | func (sw syslogWriter) Close() error { function SyslogLevelWriter (line 32) | func SyslogLevelWriter(w SyslogWriter) LevelWriter { function SyslogCEEWriter (line 40) | func SyslogCEEWriter(w SyslogWriter) LevelWriter { FILE: syslog_test.go type syslogEvent (line 14) | type syslogEvent struct type syslogTestWriter (line 18) | type syslogTestWriter struct method Write (line 22) | func (w *syslogTestWriter) Write(p []byte) (int, error) { method Trace (line 25) | func (w *syslogTestWriter) Trace(m string) error { method Debug (line 29) | func (w *syslogTestWriter) Debug(m string) error { method Info (line 33) | func (w *syslogTestWriter) Info(m string) error { method Warning (line 37) | func (w *syslogTestWriter) Warning(m string) error { method Err (line 41) | func (w *syslogTestWriter) Err(m string) error { method Emerg (line 45) | func (w *syslogTestWriter) Emerg(m string) error { method Crit (line 49) | func (w *syslogTestWriter) Crit(m string) error { function TestSyslogWriter (line 54) | func TestSyslogWriter(t *testing.T) { type testCEEwriter (line 75) | type testCEEwriter struct method Debug (line 80) | func (c testCEEwriter) Debug(m string) error { return nil } method Info (line 82) | func (c testCEEwriter) Info(m string) error { method Warning (line 87) | func (c testCEEwriter) Warning(m string) error { return nil } method Err (line 89) | func (c testCEEwriter) Err(m string) error { return nil } method Emerg (line 91) | func (c testCEEwriter) Emerg(m string) error { return nil } method Crit (line 93) | func (c testCEEwriter) Crit(m string) error { return nil } method Write (line 95) | func (c testCEEwriter) Write(b []byte) (int, error) { function TestSyslogWriter_WithCEE (line 99) | func TestSyslogWriter_WithCEE(t *testing.T) { type errorSyslogWriter (line 111) | type errorSyslogWriter struct method Write (line 116) | func (w *errorSyslogWriter) Write(p []byte) (int, error) { function TestSyslogWriter_Write (line 123) | func TestSyslogWriter_Write(t *testing.T) { function TestSyslogWriter_WriteLevel_AllLevels (line 161) | func TestSyslogWriter_WriteLevel_AllLevels(t *testing.T) { type closableSyslogWriter (line 189) | type closableSyslogWriter struct method Close (line 194) | func (w *closableSyslogWriter) Close() error { function TestSyslogWriter_Close (line 199) | func TestSyslogWriter_Close(t *testing.T) { function TestSyslogWriter_WriteLevel_InvalidLevel (line 222) | func TestSyslogWriter_WriteLevel_InvalidLevel(t *testing.T) { FILE: writer.go type LevelWriter (line 15) | type LevelWriter interface type LevelWriterAdapter (line 21) | type LevelWriterAdapter struct method WriteLevel (line 26) | func (lw LevelWriterAdapter) WriteLevel(l Level, p []byte) (n int, err... method Close (line 32) | func (lw LevelWriterAdapter) Close() error { type syncWriter (line 39) | type syncWriter struct method Write (line 56) | func (s *syncWriter) Write(p []byte) (n int, err error) { method WriteLevel (line 63) | func (s *syncWriter) WriteLevel(l Level, p []byte) (n int, err error) { method Close (line 69) | func (s *syncWriter) Close() error { function SyncWriter (line 48) | func SyncWriter(w io.Writer) io.Writer { type multiLevelWriter (line 78) | type multiLevelWriter struct method Write (line 82) | func (t multiLevelWriter) Write(p []byte) (n int, err error) { method WriteLevel (line 96) | func (t multiLevelWriter) WriteLevel(l Level, p []byte) (n int, err er... method Close (line 113) | func (t multiLevelWriter) Close() error { function MultiLevelWriter (line 127) | func MultiLevelWriter(writers ...io.Writer) LevelWriter { type TestingLog (line 140) | type TestingLog interface type TestWriter (line 147) | type TestWriter struct method Write (line 160) | func (t TestWriter) Write(p []byte) (n int, err error) { function NewTestWriter (line 155) | func NewTestWriter(t TestingLog) TestWriter { function ConsoleTestWriter (line 184) | func ConsoleTestWriter(t TestingLog) func(w *ConsoleWriter) { type FilteredLevelWriter (line 197) | type FilteredLevelWriter struct method Write (line 203) | func (w *FilteredLevelWriter) Write(p []byte) (int, error) { method WriteLevel (line 209) | func (w *FilteredLevelWriter) WriteLevel(level Level, p []byte) (int, ... method Close (line 218) | func (w *FilteredLevelWriter) Close() error { type TriggerLevelWriter (line 237) | type TriggerLevelWriter struct method WriteLevel (line 255) | func (w *TriggerLevelWriter) WriteLevel(l Level, p []byte) (n int, err... method trigger (line 291) | func (w *TriggerLevelWriter) trigger() error { method Trigger (line 329) | func (w *TriggerLevelWriter) Trigger() error { method Close (line 337) | func (w *TriggerLevelWriter) Close() error { FILE: writer_test.go type closableBuffer (line 15) | type closableBuffer struct method Close (line 21) | func (cb *closableBuffer) Close() error { type errorWriter (line 26) | type errorWriter struct method Write (line 31) | func (ew *errorWriter) Write(p []byte) (int, error) { method WriteLevel (line 41) | func (ew *errorWriter) WriteLevel(level Level, p []byte) (int, error) { function TestMultiSyslogWriter (line 45) | func TestMultiSyslogWriter(t *testing.T) { type mockedWriter (line 67) | type mockedWriter struct method Write (line 71) | func (c mockedWriter) Write(p []byte) (int, error) { function TestResilientMultiWriter (line 82) | func TestResilientMultiWriter(t *testing.T) { type testingLog (line 147) | type testingLog struct method Log (line 152) | func (t *testingLog) Log(args ...interface{}) { method Logf (line 158) | func (t *testingLog) Logf(format string, args ...interface{}) { function TestTestWriter (line 164) | func TestTestWriter(t *testing.T) { function TestFilteredLevelWriter (line 209) | func TestFilteredLevelWriter(t *testing.T) { type testWrite (line 229) | type testWrite struct function TestTriggerLevelWriter (line 234) | func TestTriggerLevelWriter(t *testing.T) { function TestLevelWriterAdapter_Close (line 284) | func TestLevelWriterAdapter_Close(t *testing.T) { function TestSyncWriter (line 308) | func TestSyncWriter(t *testing.T) { function TestMultiLevelWriter_Write (line 373) | func TestMultiLevelWriter_Write(t *testing.T) { function TestMultiLevelWriter_WriteLevel (line 419) | func TestMultiLevelWriter_WriteLevel(t *testing.T) { function TestMultiLevelWriter_Close (line 454) | func TestMultiLevelWriter_Close(t *testing.T) { function TestNewTestWriter (line 488) | func TestNewTestWriter(t *testing.T) { function TestFilteredLevelWriter_Write (line 499) | func TestFilteredLevelWriter_Write(t *testing.T) { function TestFilteredLevelWriter_Close (line 520) | func TestFilteredLevelWriter_Close(t *testing.T) {