Documentation ¶ Index ¶ type Writer func NewWriter() *Writer func (w *Writer) Write(p []byte) (n int, err error) func (w *Writer) WriteLevel(level zerolog.Level, p []byte) (n int, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Writer ¶ type Writer struct { // contains filtered or unexported fields } Writer implements zerolog.LevelWriter and io.Writer for clean console output. It produces human-friendly output without timestamps, callers, or field dumps. func NewWriter ¶ func NewWriter() *Writer NewWriter creates a new console Writer. func (*Writer) Write ¶ func (w *Writer) Write(p []byte) (n int, err error) Write implements io.Writer. func (*Writer) WriteLevel ¶ func (w *Writer) WriteLevel(level zerolog.Level, p []byte) (n int, err error) WriteLevel implements zerolog.LevelWriter. Source Files ¶ View all Source files writer.go Click to show internal directories. Click to hide internal directories.