raftLogKit

package
v3.0.14 Latest Latest
Warning

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

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