Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndentFileWriter ¶ added in v1.4.0
type IndentFileWriter struct {
// contains filtered or unexported fields
}
IndentFileWriter adds configured indent for messages starting with configured prefix.
func NewIndentFileWriter ¶ added in v1.4.0
func NewIndentFileWriter(w *os.File, triggerPrefix string, indent int) *IndentFileWriter
NewIndentFileWriter returns a new IndentFileWriter instance.
func NewIndentStdoutWriter ¶
func NewIndentStdoutWriter(triggerPrefix string, indent int) *IndentFileWriter
NewIndentStdoutWriter returns a new IndentFileWriter instance.
func (*IndentFileWriter) Fd ¶ added in v1.4.0
func (s *IndentFileWriter) Fd() uintptr
Fd returns the integer Unix file descriptor referencing the open file.
Click to show internal directories.
Click to hide internal directories.