logger

package
v0.0.1-202404291754 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupLogger

func SetupLogger(opts ...Option) logger.Logger

SetupLogger 日志 cap 单位为kb

Types

type Option

type Option func(*options)

func WithCallSkip

func WithCallSkip(n int) Option

func WithCap

func WithCap(n uint) Option

func WithLevel

func WithLevel(s string) Option

func WithPath

func WithPath(s string) Option

func WithStdout

func WithStdout(s string) Option

func WithType

func WithType(s string) Option

Jump to

Keyboard shortcuts

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