proxy_logger

package
v0.0.0-...-64150a4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// max bytes to display in logs in debug mode
	MAX_BYTES int = 32
)

Variables

View Source
var (
	DebugLog *log.Logger
	InfoLog  *log.Logger
	WarnLog  *log.Logger
)

Functions

func LogMessage

func LogMessage(who string, msg *bolt.Message)

func LogMessages

func LogMessages(who string, messages []*bolt.Message)

func SetUpDebugLog

func SetUpDebugLog(out io.Writer)

func SetUpInfoLog

func SetUpInfoLog(out io.Writer)

func SetUpWarnLog

func SetUpWarnLog(out io.Writer)

Types

This section is empty.

Jump to

Keyboard shortcuts

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