package
3.0.0-rc.3+incompatible
Repository: https://github.com/vitessio/vitess.git
Documentation: pkg.go.dev
# Functions
GetFormatter returns a formatter function for objects conforming to the Formatter interface.
New returns a new StreamLogger that can stream events to subscribers.
# Constants
QueryLogFormatJSON is the format specifier for json querylog output.
QueryLogFormatText is the format specifier for text querylog output.
# Variables
QueryLogFormat controls the format of the query log (either text or json).
RedactDebugUIQueries controls whether full queries and bind variables are suppressed from debug UIs.
# Structs
StreamLogger is a non-blocking broadcaster of messages.
# Interfaces
Formatter is a simple interface for objects that expose a Format function as needed for streamlog.
# Type aliases
LogFormatter is the function signature used to format an arbitrary message for the given output writer.