Add partial encoder #15

Merged
alexvanin merged 1 commit from feature/partial-encoder into master 2024-01-24 11:18:07 +00:00

1 commit

Author SHA1 Message Date
045b966ecb [#15] Add partial encoder
Partial encoder is an encoder wrapper which
ignores specific fields. This is useful with
zapjournald core to ignore syslog fields
in human-readable console output.

Encoder adds almost none overhead and even improves
logging speed for entities with syslog fields.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2024-01-23 19:47:34 +03:00