Documentation ¶
Index ¶
- type LoggerBuilder
- func (l *LoggerBuilder) Build() (*types.LogArgs, error)
- func (l *LoggerBuilder) Container(name string) *LoggerBuilder
- func (l *LoggerBuilder) EnableTimestamp() *LoggerBuilder
- func (l *LoggerBuilder) Follow() *LoggerBuilder
- func (l *LoggerBuilder) Instance(name string) *LoggerBuilder
- func (l *LoggerBuilder) SinceSeconds(sinceSeconds string) *LoggerBuilder
- func (l *LoggerBuilder) SinceTime(sinceTime string) *LoggerBuilder
- func (l *LoggerBuilder) Tail(line int) *LoggerBuilder
- func (l *LoggerBuilder) WriterCloser(writerCloser io.WriteCloser) *LoggerBuilder
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) 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
Click to show internal directories.
Click to hide internal directories.