naive

package
v1.0.35 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NativeLogBuilder

type NativeLogBuilder interface {
	logInt.Builder
	// SetWriter set where output should be printed
	SetWriter(writer io.Writer) NativeLogBuilder
	// ExcludeTime configures standard Logger to exclude any time field
	ExcludeTime() NativeLogBuilder
	// IncludeCaller adds caller:line to the output
	IncludeCaller() NativeLogBuilder
}

NativeLogBuilder is a helper interface to configure native log.Logger instance.

func Builder

func Builder() NativeLogBuilder

Builder creates a fresh default Logger builder, this will eventually build a std logger wrapper without structured logging

Jump to

Keyboard shortcuts

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