MCPcopy
hub / github.com/kopia/kopia / Log6

Function Log6

internal/contentlog/contentlog_logger.go:92–94  ·  view source on GitHub ↗

Log6 logs a message with six parameters.

(ctx context.Context, l *Logger, format string, value1 T1, value2 T2, value3 T3, value4 T4, value5 T5, value6 T6)

Source from the content-addressed store, hash-verified

90
91// Log6 logs a message with six parameters.
92func Log6[T1, T2, T3, T4, T5, T6 ParamWriter](ctx context.Context, l *Logger, format string, value1 T1, value2 T2, value3 T3, value4 T4, value5 T5, value6 T6) {
93 Emit(ctx, l, debugMessageWithParams[T1, T2, T3, T4, T5, T6]{text: format, v1: value1, v2: value2, v3: value3, v4: value4, v5: value5, v6: value6})
94}
95
96// WithParams returns a new logger with the given parameters.
97func WithParams(ctx context.Context, params ...ParamWriter) context.Context {

Callers 3

TestLog6Function · 0.92
BenchmarkLoggerFunction · 0.92
GetBlobMethod · 0.92

Calls 1

EmitFunction · 0.85

Tested by 2

TestLog6Function · 0.74
BenchmarkLoggerFunction · 0.74