Documentation ¶
Index ¶
Constants ¶
View Source
const (
PluginType = "query_summary"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SummaryLogger ¶
type SummaryLogger struct {
// contains filtered or unexported fields
}
func NewSummaryLogger ¶
func NewSummaryLogger(l *zap.Logger, msg string) *SummaryLogger
NewSummaryLogger returns a SummaryLogger that logs query info into l. l cannot be nil. If msg is empty, "query summary" will be used.
func (*SummaryLogger) Exec ¶
func (l *SummaryLogger) Exec(ctx context.Context, qCtx *query_context.Context, next sequence.ChainWalker) error
Click to show internal directories.
Click to hide internal directories.