wagclientlogger

package module
v0.0.0-...-2bae8fe Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogLevel

type LogLevel int

LogLevel is an enum of valid log levels.

const (
	Trace LogLevel = iota
	Debug
	Info
	Warning
	Error
	Critical
	FromEnv
)

Constants used to define different LogLevels supported

type M

type M map[string]interface{}

M is a convenience type to avoid having to type out map[string]interface{} everytime.

type WagClientLogger

type WagClientLogger interface {
	Log(level LogLevel, message string, pairs map[string]interface{})
}

WagClientLogger provides a minimal interface for a Wag Client Logger

Jump to

Keyboard shortcuts

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