raftLogKit

package
v3.0.62 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewLogger func(opts *hclog.LoggerOptions) hclog.Logger = hclog.New

NewLogger

PS: 返回值可以赋值给 raft.Config.Logger

@param opts 可以为nil(将采用默认值: os.Stderr、Info)

Functions

func StringToLevel

func StringToLevel(levelStr string) hclog.Level

Types

This section is empty.

Jump to

Keyboard shortcuts

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