logger

package
v1.4.15 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 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 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