log

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 2 Imported by: 0

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