logger

package
v0.0.0-...-5cf9733 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyWriter

func ApplyWriter(fileName string, c *config.Config) io.Writer

ApplyWriter ...

func New

func New(fileName string, c *config.Config) *slog.Logger

New @Description: init @param dirPath @param fileName @param level Set the log level to Error debug: -4, info: 0, warn: 4, error: 8 @return *slog.Logger @author cx

Types

This section is empty.

Jump to

Keyboard shortcuts

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