qlog

package
v0.46.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 20 Imported by: 105

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConnectionTracer added in v0.45.0

func DefaultConnectionTracer(_ context.Context, p logging.Perspective, connID logging.ConnectionID) *logging.ConnectionTracer

DefaultConnectionTracer creates a qlog file in the qlog directory specified by the QLOGDIR environment variable. File names are <odcid>_<perspective>.sqlog. Returns nil if QLOGDIR is not set.

func DefaultTracer added in v0.41.0

DefaultTracer creates a qlog file in the qlog directory specified by the QLOGDIR environment variable. Deprecated: use DefaultConnectionTracer instead.

func NewConnectionTracer

NewConnectionTracer creates a new tracer to record a qlog for a connection.

func NewTracer

func NewTracer(w io.WriteCloser) *logging.Tracer

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL