Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpinnerWriter ¶
type SpinnerWriter struct {
// contains filtered or unexported fields
}
SpinnerWriter implements zerolog.LevelWriter and io.Writer for spinner output.
func (*SpinnerWriter) HasApps ¶
func (sw *SpinnerWriter) HasApps() bool
HasApps returns true if any log messages with an app field were sent.
func (*SpinnerWriter) Stop ¶
func (sw *SpinnerWriter) Stop()
Stop signals the spinner program to quit and waits for it to exit.
func (*SpinnerWriter) Wait ¶
func (sw *SpinnerWriter) Wait()
Wait blocks until the spinner program exits.
func (*SpinnerWriter) Write ¶
func (sw *SpinnerWriter) Write(p []byte) (n int, err error)
Write implements io.Writer.
func (*SpinnerWriter) WriteLevel ¶
WriteLevel implements zerolog.LevelWriter.
Click to show internal directories.
Click to hide internal directories.