Documentation ¶ Index ¶ func Execute() type TieredLevelWriter func (lw *TieredLevelWriter) WriteLevel(l zerolog.Level, data []byte) (n int, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Execute ¶ func Execute() Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd. Types ¶ type TieredLevelWriter ¶ type TieredLevelWriter struct { io.Writer OutputWriter io.Writer } func (*TieredLevelWriter) WriteLevel ¶ func (lw *TieredLevelWriter) WriteLevel(l zerolog.Level, data []byte) (n int, err error) Source Files ¶ View all Source files root.go Click to show internal directories. Click to hide internal directories.