logcore

package
v2.0.1-rc.4 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CoreLogFileName       = "core.log"
	GrpcLogFileName       = "grpc.log"
	GCLogFileName         = "gc.log"
	JobLogFileName        = "job.log"
	StatPeerLogFileName   = "peer.log"
	StatSeedLogFileName   = "stat/seed.log"
	DownloaderLogFileName = "downloader.log"
	KeepAliveLogFileName  = "keepalive.log"
)

Functions

func CreateLogger

func CreateLogger(filePath string, 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