Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTracer ¶
func DefaultTracer(_ context.Context, p logging.Perspective, connID logging.ConnectionID) *logging.ConnectionTracer
DefaultTracer creates a qlog file in the qlog directory specified by the QLOGDIR environment variable. File names are <odcid>_<perspective>.qlog. Returns nil if QLOGDIR is not set.
func NewConnectionTracer ¶
func NewConnectionTracer(w io.WriteCloser, p logging.Perspective, odcid protocol.ConnectionID) *logging.ConnectionTracer
NewConnectionTracer creates a new tracer to record a qlog for a connection.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.