Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomStackMarshaler ¶ added in v2.6.40
func CustomStackMarshaler(err error) interface{}
CustomStackMarshaler formats stack traces similar to panic output
func SetLogLevelFromString ¶
func SetLogLevelFromString(logLevel string)
Types ¶
type CustomWriter ¶ added in v2.6.40
type CustomWriter struct {
// contains filtered or unexported fields
}
CustomWriter is a custom writer for zerolog that formats output
func NewCustomWriter ¶ added in v2.6.40
func NewCustomWriter(out io.Writer) *CustomWriter
NewCustomWriter creates a new custom writer
Click to show internal directories.
Click to hide internal directories.