MCPcopy
hub / github.com/kopia/kopia / Log4

Function Log4

internal/contentlog/contentlog_logger.go:82–84  ·  view source on GitHub ↗

Log4 logs a message with four parameters.

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

Source from the content-addressed store, hash-verified

80
81// Log4 logs a message with four parameters.
82func Log4[T1, T2, T3, T4 ParamWriter](ctx context.Context, l *Logger, format string, value1 T1, value2 T2, value3 T3, value4 T4) {
83 Emit(ctx, l, debugMessageWithParams[T1, T2, T3, T4, voidParamValue, voidParamValue]{text: format, v1: value1, v2: value2, v3: value3, v4: value4})
84}
85
86// Log5 logs a message with five parameters.
87func Log5[T1, T2, T3, T4, T5 ParamWriter](ctx context.Context, l *Logger, format string, value1 T1, value2 T2, value3 T3, value4 T4, value5 T5) {

Callers 10

TestLog4Function · 0.92
BenchmarkLoggerFunction · 0.92
GetCompleteIndexSetMethod · 0.92
GetCapacityMethod · 0.92
GetMetadataMethod · 0.92
PutBlobMethod · 0.92
ListBlobsMethod · 0.92
CompactIndexesMethod · 0.92
registerCompactionMethod · 0.92

Calls 1

EmitFunction · 0.85

Tested by 2

TestLog4Function · 0.74
BenchmarkLoggerFunction · 0.74