logger

package
v0.8.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2021 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggerBuilder

type LoggerBuilder struct {
	argsbuilder.ArgsBuilder
	// contains filtered or unexported fields
}

func NewLoggerBuilder

func NewLoggerBuilder() *LoggerBuilder

func (*LoggerBuilder) Build

func (l *LoggerBuilder) Build() (*types.LogArgs, error)

func (*LoggerBuilder) Container

func (l *LoggerBuilder) Container(name string) *LoggerBuilder

func (*LoggerBuilder) EnableTimestamp

func (l *LoggerBuilder) EnableTimestamp() *LoggerBuilder

func (*LoggerBuilder) Follow

func (l *LoggerBuilder) Follow() *LoggerBuilder

func (*LoggerBuilder) Instance

func (l *LoggerBuilder) Instance(name string) *LoggerBuilder

func (*LoggerBuilder) SinceSeconds

func (l *LoggerBuilder) SinceSeconds(sinceSeconds string) *LoggerBuilder

func (*LoggerBuilder) SinceTime

func (l *LoggerBuilder) SinceTime(sinceTime string) *LoggerBuilder

func (*LoggerBuilder) Tail

func (l *LoggerBuilder) Tail(line int) *LoggerBuilder

func (*LoggerBuilder) WriterCloser

func (l *LoggerBuilder) WriterCloser(writerCloser io.WriteCloser) *LoggerBuilder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL