log

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogConfig

type LogConfig log.Config

func (*LogConfig) Build

func (conf *LogConfig) Build() *log.Logger

func (*LogConfig) Init

func (conf *LogConfig) Init()

type Logger

type Logger struct {
	*log.Logger `init:"entity"`
	Conf        LogConfig `init:"config"`
}

func (*Logger) Close

func (l *Logger) Close() error

func (*Logger) Config

func (l *Logger) Config() any

func (*Logger) SetEntity

func (l *Logger) SetEntity()

Jump to

Keyboard shortcuts

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