Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStackExtractCore ¶
NewStackExtractCore returns core that extracts stacktraces from error fields with github.com/pkg/errors error types, and append them to zapcore.Entry.Stack, on Write. That makes stacktraces from errors readable in case of console encoder. WARN(skipor): don't call Check of underlying cores, just use LevelEnabler. That breaks sampling and other complex logic of choosing log or not entry.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.