SYMBOL INDEX (233 symbols across 30 files) FILE: handler.go type key (line 13) | type key constant logKey (line 16) | logKey key = iota constant idKey (line 17) | idKey function IDFromContext (line 21) | func IDFromContext(ctx context.Context) (xid.ID, bool) { function IDFromRequest (line 27) | func IDFromRequest(r *http.Request) (xid.ID, bool) { function FromContext (line 36) | func FromContext(ctx context.Context) Logger { function FromRequest (line 49) | func FromRequest(r *http.Request) Logger { function NewContext (line 57) | func NewContext(ctx context.Context, l Logger) context.Context { function NewHandler (line 64) | func NewHandler(c Config) func(http.Handler) http.Handler { function URLHandler (line 85) | func URLHandler(name string) func(next http.Handler) http.Handler { function MethodHandler (line 97) | func MethodHandler(name string) func(next http.Handler) http.Handler { function RequestHandler (line 109) | func RequestHandler(name string) func(next http.Handler) http.Handler { function RemoteAddrHandler (line 121) | func RemoteAddrHandler(name string) func(next http.Handler) http.Handler { function UserAgentHandler (line 135) | func UserAgentHandler(name string) func(next http.Handler) http.Handler { function RefererHandler (line 149) | func RefererHandler(name string) func(next http.Handler) http.Handler { function RequestIDHandler (line 170) | func RequestIDHandler(name, headerName string) func(next http.Handler) h... FILE: handler_examples_test.go function Example_handler (line 15) | func Example_handler() { FILE: handler_pre17.go type key (line 14) | type key constant logKey (line 17) | logKey key = iota constant idKey (line 18) | idKey function IDFromContext (line 22) | func IDFromContext(ctx context.Context) (xid.ID, bool) { function FromContext (line 29) | func FromContext(ctx context.Context) Logger { function NewContext (line 41) | func NewContext(ctx context.Context, l Logger) context.Context { function NewHandler (line 48) | func NewHandler(c Config) func(xhandler.HandlerC) xhandler.HandlerC { function URLHandler (line 66) | func URLHandler(name string) func(next xhandler.HandlerC) xhandler.Handl... function MethodHandler (line 77) | func MethodHandler(name string) func(next xhandler.HandlerC) xhandler.Ha... function RequestHandler (line 88) | func RequestHandler(name string) func(next xhandler.HandlerC) xhandler.H... function RemoteAddrHandler (line 99) | func RemoteAddrHandler(name string) func(next xhandler.HandlerC) xhandle... function UserAgentHandler (line 112) | func UserAgentHandler(name string) func(next xhandler.HandlerC) xhandler... function RefererHandler (line 125) | func RefererHandler(name string) func(next xhandler.HandlerC) xhandler.H... function RequestIDHandler (line 145) | func RequestIDHandler(name, headerName string) func(next xhandler.Handle... FILE: handler_pre17_test.go function TestFromContext (line 16) | func TestFromContext(t *testing.T) { function TestNewHandler (line 24) | func TestNewHandler(t *testing.T) { function TestURLHandler (line 44) | func TestURLHandler(t *testing.T) { function TestMethodHandler (line 56) | func TestMethodHandler(t *testing.T) { function TestRequestHandler (line 68) | func TestRequestHandler(t *testing.T) { function TestRemoteAddrHandler (line 81) | func TestRemoteAddrHandler(t *testing.T) { function TestRemoteAddrHandlerIPv6 (line 93) | func TestRemoteAddrHandlerIPv6(t *testing.T) { function TestUserAgentHandler (line 105) | func TestUserAgentHandler(t *testing.T) { function TestRefererHandler (line 119) | func TestRefererHandler(t *testing.T) { function TestRequestIDHandler (line 133) | func TestRequestIDHandler(t *testing.T) { FILE: handler_test.go function TestFromContext (line 15) | func TestFromContext(t *testing.T) { function TestNewHandler (line 23) | func TestNewHandler(t *testing.T) { function TestURLHandler (line 43) | func TestURLHandler(t *testing.T) { function TestMethodHandler (line 55) | func TestMethodHandler(t *testing.T) { function TestRequestHandler (line 67) | func TestRequestHandler(t *testing.T) { function TestRemoteAddrHandler (line 80) | func TestRemoteAddrHandler(t *testing.T) { function TestRemoteAddrHandlerIPv6 (line 92) | func TestRemoteAddrHandlerIPv6(t *testing.T) { function TestUserAgentHandler (line 104) | func TestUserAgentHandler(t *testing.T) { function TestRefererHandler (line 118) | func TestRefererHandler(t *testing.T) { function TestRequestIDHandler (line 132) | func TestRequestIDHandler(t *testing.T) { FILE: internal/term/term.go type fder (line 10) | type fder interface FILE: internal/term/term_appengine.go function IsTerminal (line 13) | func IsTerminal(w io.Writer) bool { FILE: internal/term/term_darwin.go constant ioctlReadTermios (line 10) | ioctlReadTermios = syscall.TIOCGETA FILE: internal/term/term_freebsd.go constant ioctlReadTermios (line 7) | ioctlReadTermios = syscall.TIOCGETA FILE: internal/term/term_linux.go constant ioctlReadTermios (line 12) | ioctlReadTermios = syscall.TCGETS FILE: internal/term/term_notwindows.go function IsTerminal (line 17) | func IsTerminal(w io.Writer) bool { FILE: internal/term/term_openbsd.go constant ioctlReadTermios (line 5) | ioctlReadTermios = syscall.TIOCGETA FILE: internal/term/term_windows.go function IsTerminal (line 23) | func IsTerminal(w io.Writer) bool { FILE: levels.go type Level (line 10) | type Level method UnmarshalText (line 44) | func (l *Level) UnmarshalText(text []byte) (err error) { method String (line 62) | func (l Level) String() string { method MarshalText (line 82) | func (l Level) MarshalText() ([]byte, error) { constant LevelDebug (line 14) | LevelDebug Level = iota constant LevelInfo (line 15) | LevelInfo constant LevelWarn (line 16) | LevelWarn constant LevelError (line 17) | LevelError constant LevelFatal (line 18) | LevelFatal function LevelFromString (line 37) | func LevelFromString(t string) (Level, error) { FILE: levels_test.go function TestLevelFromString (line 9) | func TestLevelFromString(t *testing.T) { function TestLevelUnmarshalerText (line 29) | func TestLevelUnmarshalerText(t *testing.T) { function TestLevelString (line 49) | func TestLevelString(t *testing.T) { function TestLevelMarshalerText (line 58) | func TestLevelMarshalerText(t *testing.T) { FILE: nop.go type nop (line 3) | type nop struct method SetField (line 8) | func (n nop) SetField(name string, value interface{}) {} method GetFields (line 10) | func (n nop) GetFields() F { return map[string]interface{}{} } method OutputF (line 12) | func (n nop) OutputF(level Level, calldepth int, msg string, fields ma... method Debug (line 14) | func (n nop) Debug(v ...interface{}) {} method Debugf (line 16) | func (n nop) Debugf(format string, v ...interface{}) {} method Info (line 18) | func (n nop) Info(v ...interface{}) {} method Infof (line 20) | func (n nop) Infof(format string, v ...interface{}) {} method Warn (line 22) | func (n nop) Warn(v ...interface{}) {} method Warnf (line 24) | func (n nop) Warnf(format string, v ...interface{}) {} method Error (line 26) | func (n nop) Error(v ...interface{}) {} method Errorf (line 28) | func (n nop) Errorf(format string, v ...interface{}) {} method Fatal (line 30) | func (n nop) Fatal(v ...interface{}) { method Fatalf (line 34) | func (n nop) Fatalf(format string, v ...interface{}) { method Write (line 38) | func (n nop) Write(p []byte) (int, error) { return len(p), nil } method Output (line 40) | func (n nop) Output(calldepth int, s string) error { FILE: nop_test.go function TestNopLogger (line 5) | func TestNopLogger(t *testing.T) { FILE: output.go type Output (line 19) | type Output interface type OutputFunc (line 26) | type OutputFunc method Write (line 28) | func (of OutputFunc) Write(fields map[string]interface{}) error { type OutputChannel (line 33) | type OutputChannel struct method Write (line 76) | func (oc *OutputChannel) Write(fields map[string]interface{}) (err err... method Flush (line 88) | func (oc *OutputChannel) Flush() { method Close (line 102) | func (oc *OutputChannel) Close() { function NewOutputChannel (line 45) | func NewOutputChannel(o Output) *OutputChannel { function NewOutputChannelBuffer (line 51) | func NewOutputChannelBuffer(o Output, bufSize int) *OutputChannel { type MultiOutput (line 125) | type MultiOutput method Write (line 127) | func (m MultiOutput) Write(fields map[string]interface{}) (err error) { type FilterOutput (line 139) | type FilterOutput struct method Write (line 144) | func (f FilterOutput) Write(fields map[string]interface{}) (err error) { type LevelOutput (line 155) | type LevelOutput struct method Write (line 163) | func (l LevelOutput) Write(fields map[string]interface{}) error { type RecorderOutput (line 184) | type RecorderOutput struct method Write (line 188) | func (l *RecorderOutput) Write(fields map[string]interface{}) error { method Reset (line 198) | func (l *RecorderOutput) Reset() { type consoleOutput (line 202) | type consoleOutput struct method Write (line 223) | func (o consoleOutput) Write(fields map[string]interface{}) error { function NewConsoleOutput (line 210) | func NewConsoleOutput() Output { function NewConsoleOutputW (line 216) | func NewConsoleOutputW(w io.Writer, noTerm Output) Output { type logfmtOutput (line 274) | type logfmtOutput struct method Write (line 283) | func (o logfmtOutput) Write(fields map[string]interface{}) error { function NewLogfmtOutput (line 279) | func NewLogfmtOutput(w io.Writer) Output { function NewJSONOutput (line 320) | func NewJSONOutput(w io.Writer) Output { function NewLogstashOutput (line 328) | func NewLogstashOutput(w io.Writer) Output { function NewUIDOutput (line 360) | func NewUIDOutput(field string, o Output) Output { function NewTrimOutput (line 369) | func NewTrimOutput(maxLen int, o Output) Output { function NewTrimFieldsOutput (line 382) | func NewTrimFieldsOutput(trimFields []string, maxLen int, o Output) Outp... FILE: output_examples_test.go function Example_combinedOutputs (line 9) | func Example_combinedOutputs() { function ExampleMultiOutput (line 40) | func ExampleMultiOutput() { function ExampleFilterOutput (line 53) | func ExampleFilterOutput() { function ExampleLevelOutput (line 70) | func ExampleLevelOutput() { function ExampleNewSyslogWriter (line 85) | func ExampleNewSyslogWriter() { FILE: output_syslog.go function NewSyslogOutput (line 13) | func NewSyslogOutput(network, address, tag string) Output { function NewSyslogOutputFacility (line 20) | func NewSyslogOutputFacility(network, address, tag string, facility sysl... function NewSyslogWriter (line 32) | func NewSyslogWriter(network, address string, prio syslog.Priority, tag ... FILE: output_test.go type testOutput (line 16) | type testOutput struct method Write (line 29) | func (o *testOutput) Write(fields map[string]interface{}) (err error) { method reset (line 34) | func (o *testOutput) reset() { method empty (line 38) | func (o *testOutput) empty() bool { method get (line 47) | func (o *testOutput) get() map[string]interface{} { function newTestOutput (line 21) | func newTestOutput() *testOutput { function newTestOutputErr (line 25) | func newTestOutputErr(err error) *testOutput { function TestOutputChannel (line 56) | func TestOutputChannel(t *testing.T) { function TestOutputChannelError (line 64) | func TestOutputChannelError(t *testing.T) { function TestOutputChannelClose (line 85) | func TestOutputChannelClose(t *testing.T) { function TestDiscard (line 94) | func TestDiscard(t *testing.T) { function TestMultiOutput (line 98) | func TestMultiOutput(t *testing.T) { function TestMultiOutputWithError (line 108) | func TestMultiOutputWithError(t *testing.T) { function TestFilterOutput (line 119) | func TestFilterOutput(t *testing.T) { function TestLevelOutput (line 141) | func TestLevelOutput(t *testing.T) { function TestSyslogOutput (line 207) | func TestSyslogOutput(t *testing.T) { function TestRecorderOutput (line 224) | func TestRecorderOutput(t *testing.T) { function TestNewConsoleOutput (line 233) | func TestNewConsoleOutput(t *testing.T) { function TestNewConsoleOutputW (line 248) | func TestNewConsoleOutputW(t *testing.T) { function TestConsoleOutput (line 261) | func TestConsoleOutput(t *testing.T) { function TestLogfmtOutput (line 281) | func TestLogfmtOutput(t *testing.T) { function TestJSONOutput (line 298) | func TestJSONOutput(t *testing.T) { function TestLogstashOutput (line 306) | func TestLogstashOutput(t *testing.T) { function TestUIDOutput (line 320) | func TestUIDOutput(t *testing.T) { function TestTrimOutput (line 330) | func TestTrimOutput(t *testing.T) { function TestTrimFieldsOutput (line 341) | func TestTrimFieldsOutput(t *testing.T) { FILE: std.go function SetLogger (line 10) | func SetLogger(logger Logger) { function Debug (line 15) | func Debug(v ...interface{}) { function Debugf (line 21) | func Debugf(format string, v ...interface{}) { function Info (line 27) | func Info(v ...interface{}) { function Infof (line 33) | func Infof(format string, v ...interface{}) { function Warn (line 39) | func Warn(v ...interface{}) { function Warnf (line 45) | func Warnf(format string, v ...interface{}) { function Error (line 51) | func Error(v ...interface{}) { function Errorf (line 60) | func Errorf(format string, v ...interface{}) { function Fatal (line 73) | func Fatal(v ...interface{}) { function Fatalf (line 88) | func Fatalf(format string, v ...interface{}) { FILE: std_example_test.go function ExampleSetLogger (line 5) | func ExampleSetLogger() { FILE: std_test.go function TestGlobalLogger (line 9) | func TestGlobalLogger(t *testing.T) { function TestStdError (line 69) | func TestStdError(t *testing.T) { function TestStdErrorf (line 81) | func TestStdErrorf(t *testing.T) { function TestStdFatal (line 93) | func TestStdFatal(t *testing.T) { function TestStdFatalf (line 110) | func TestStdFatalf(t *testing.T) { FILE: util.go type color (line 10) | type color constant red (line 13) | red color = 31 constant green (line 14) | green color = 32 constant yellow (line 15) | yellow color = 33 constant blue (line 16) | blue color = 34 constant gray (line 17) | gray color = 37 function colorPrint (line 20) | func colorPrint(w io.Writer, s string, c color) { function needsQuotedValueRune (line 26) | func needsQuotedValueRune(r rune) bool { function writeValue (line 31) | func writeValue(w io.Writer, v interface{}) (err error) { FILE: util_test.go function TestColorPrint (line 12) | func TestColorPrint(t *testing.T) { function TestNeedsQuotedValueRune (line 30) | func TestNeedsQuotedValueRune(t *testing.T) { function TestWriteValue (line 38) | func TestWriteValue(t *testing.T) { FILE: xlog.go type Logger (line 37) | type Logger interface type LoggerCopier (line 83) | type LoggerCopier interface type Config (line 89) | type Config struct type F (line 107) | type F type logger (line 109) | type logger struct method Copy (line 168) | func (l *logger) Copy() Logger { method close (line 182) | func (l *logger) close() { method send (line 191) | func (l *logger) send(level Level, calldepth int, msg string, fields m... method SetField (line 230) | func (l *logger) SetField(name string, value interface{}) { method GetFields (line 238) | func (l *logger) GetFields() F { method OutputF (line 243) | func (l *logger) OutputF(level Level, calldepth int, msg string, field... method Debug (line 248) | func (l *logger) Debug(v ...interface{}) { method Debugf (line 254) | func (l *logger) Debugf(format string, v ...interface{}) { method Info (line 260) | func (l *logger) Info(v ...interface{}) { method Infof (line 266) | func (l *logger) Infof(format string, v ...interface{}) { method Warn (line 272) | func (l *logger) Warn(v ...interface{}) { method Warnf (line 278) | func (l *logger) Warnf(format string, v ...interface{}) { method Error (line 284) | func (l *logger) Error(v ...interface{}) { method Errorf (line 293) | func (l *logger) Errorf(format string, v ...interface{}) { method Fatal (line 306) | func (l *logger) Fatal(v ...interface{}) { method Fatalf (line 319) | func (l *logger) Fatalf(format string, v ...interface{}) { method Write (line 336) | func (l *logger) Write(p []byte) (int, error) { method Output (line 346) | func (l *logger) Output(calldepth int, s string) error { function New (line 139) | func New(c Config) Logger { function Copy (line 160) | func Copy(l Logger) Logger { function extractFields (line 215) | func extractFields(v *[]interface{}) map[string]interface{} { FILE: xlog_bench_test.go function BenchmarkSend (line 5) | func BenchmarkSend(b *testing.B) { FILE: xlog_examples_test.go function Example_log (line 13) | func Example_log() { function Example_stdlog (line 30) | func Example_stdlog() { FILE: xlog_test.go function init (line 17) | func init() { function TestNew (line 23) | func TestNew(t *testing.T) { function TestNewPoolDisabled (line 45) | func TestNewPoolDisabled(t *testing.T) { function TestCopy (line 86) | func TestCopy(t *testing.T) { function TestNewDefautOutput (line 107) | func TestNewDefautOutput(t *testing.T) { function TestSend (line 116) | func TestSend(t *testing.T) { function TestSendDrop (line 138) | func TestSendDrop(t *testing.T) { function TestExtractFields (line 164) | func TestExtractFields(t *testing.T) { function TestGetFields (line 186) | func TestGetFields(t *testing.T) { function TestDebug (line 193) | func TestDebug(t *testing.T) { function TestDebugf (line 203) | func TestDebugf(t *testing.T) { function TestInfo (line 213) | func TestInfo(t *testing.T) { function TestInfof (line 223) | func TestInfof(t *testing.T) { function TestWarn (line 233) | func TestWarn(t *testing.T) { function TestWarnf (line 243) | func TestWarnf(t *testing.T) { function TestError (line 253) | func TestError(t *testing.T) { function TestErrorf (line 263) | func TestErrorf(t *testing.T) { function TestFatal (line 273) | func TestFatal(t *testing.T) { function TestFatalf (line 288) | func TestFatalf(t *testing.T) { function TestWrite (line 303) | func TestWrite(t *testing.T) { function TestOutput (line 314) | func TestOutput(t *testing.T) {