Documentation ¶
Index ¶
- func New(cfg LogConfig) zerolog.Logger
- func TeeCloud(w io.Writer) zerolog.LevelWriter
- type ConsoleAdapter
- type ConsoleSizer
- type ConsoleWriter
- type Event
- type EventV2
- type File
- type Group
- type GroupV2
- type LogConfig
- type Logs
- type LogsV2
- type Message
- type MessageV2
- type PlainOutput
- type TTYOutput
- type TTYOutputV2
- type WinSize
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConsoleAdapter ¶
func (ConsoleAdapter) Size ¶
func (ca ConsoleAdapter) Size() (WinSize, error)
type ConsoleSizer ¶
type ConsoleWriter ¶
type ConsoleWriter interface { io.Writer ConsoleSizer }
type File ¶
type File interface { io.ReadWriteCloser // Fd returns its file descriptor Fd() uintptr // Name returns its file name Name() string }
type PlainOutput ¶
type TTYOutputV2 ¶
type TTYOutputV2 struct {
// contains filtered or unexported fields
}
func NewTTYOutputConsole ¶
func NewTTYOutputConsole(w ConsoleWriter) (*TTYOutputV2, error)
func NewTTYOutputV2 ¶
func NewTTYOutputV2(w File) (*TTYOutputV2, error)
func (*TTYOutputV2) Start ¶
func (c *TTYOutputV2) Start()
func (*TTYOutputV2) Stop ¶
func (c *TTYOutputV2) Stop()
Click to show internal directories.
Click to hide internal directories.