From 80919f9ca87064c766de835655fdc745d64c6d2a Mon Sep 17 00:00:00 2001 From: Pavel Okhlopkov Date: Thu, 5 Dec 2024 11:11:55 +0300 Subject: [PATCH] add comments Signed-off-by: Pavel Okhlopkov --- pkg/executor/executor.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/executor/executor.go b/pkg/executor/executor.go index 3239aee8..f40d6467 100644 --- a/pkg/executor/executor.go +++ b/pkg/executor/executor.go @@ -224,6 +224,11 @@ func (pl *proxyLogger) writerScanner(p []byte) { } } +// level = level +// msg = msg +// prefix for all fields hook_ +// source = hook_source +// stacktrace = hook_stacktrace func (pl *proxyLogger) mergeAndLogInputLog(ctx context.Context, inputLog map[string]interface{}, prefix string) { var lvl log.Level