logcore

package
v2.0.2-beta.5 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 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"
	StorageGCLogFileName  = "storage-gc.log"
	JobLogFileName        = "job.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, dir string) error

func InitDaemon

func InitDaemon(console bool, dir string) error

func InitDfget

func InitDfget(console bool, dir string) error

func InitManager

func InitManager(console bool, dir string) error

func InitScheduler

func InitScheduler(console bool, dir string) 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