log

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string)

func Debugf

func Debugf(f string, args ...interface{})

func Error

func Error(msg string)

func Errorf

func Errorf(f string, args ...interface{})

func Info

func Info(msg string)

func Infof

func Infof(msg string, args ...interface{})

func SetLevel

func SetLevel(lvl string)

SetLevel use to modify log level of default logger

func SetLogger

func SetLogger(l Logger)

SetLogger use to set defaultLogger

func Warn

func Warn(msg string)

func Warnf

func Warnf(f string, args ...interface{})

Types

type Logger

type Logger = protocol.Logger

Jump to

Keyboard shortcuts

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