Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Key   string
	Value interface{}
}

type Logger

type Logger interface {
	WithName(name string) Logger
	WithData(data ...Data) Logger

	Debug(msg string, data ...Data)
	Info(msg string, data ...Data)
	Error(msg string, err error, data ...Data)
}

type SecurityData

type SecurityData struct {
	Key   string
	Value string
}

type SecurityLogger

type SecurityLogger interface {
	Log(ctx context.Context, signature, name string, args ...SecurityData)
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.