wagclientlogger

package module
v0.0.0-...-bbed7c2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 0 Imported by: 3

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