qlog

package
v0.48.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 20 Imported by: 101

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 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