package
Version:
v0.3.1
Opens a new window with list of versions in this module.
Published: Apr 3, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
NewErrorLog creates a standard library logger that writes to a zerolog Logger
This can be used as the ErrorLog field in http.Server
type ZerologWriter struct {
}
ZerologWriter implements io.Writer by redirecting writes to a zerolog logger
Write implements the io.Writer interface by logging the message to the embedded zerolog logger
Source Files
¶
Click to show internal directories.
Click to hide internal directories.