Skip to content
Snippets Groups Projects
Commit 6a0258b9 authored by Semyon Krestyaninov's avatar Semyon Krestyaninov
Browse files

add docs

parent 4be72d59
No related branches found
No related tags found
No related merge requests found
...@@ -50,6 +50,9 @@ type filterCore struct { ...@@ -50,6 +50,9 @@ type filterCore struct {
zapcore.Core zapcore.Core
filter FilterFunc filter FilterFunc
// fields хранит контекст записей ядра, передаваемых при вызове With.
// В методе Write передаются только поля конкретной записи, но мы также хотим учитывать поля контекста ядра.
fields []zap.Field fields []zap.Field
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment