logcore

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CoreLogFileName = "core.log"
	GrpcLogFileName = "grpc.log"
	GCLogFileName   = "gc.log"
)

Variables

This section is empty.

Functions

func CreateLogger

func CreateLogger(filePath string, maxSize int, maxAge int, maxBackups int, compress bool, stats bool) (*zap.Logger, error)

func InitCdnSystem

func InitCdnSystem(console bool) error

func InitDaemon

func InitDaemon(console bool) error

func InitDfget

func InitDfget(console bool) error

func InitManager

func InitManager(console bool) error

func InitScheduler

func InitScheduler(console bool) error

func SetCoreLevel

func SetCoreLevel(level zapcore.Level)

func SetGrpcLevel

func SetGrpcLevel(level zapcore.Level)

Types

This section is empty.

Jump to

Keyboard shortcuts

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