logger

package
v0.0.0-...-41d89a1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Default Log Manager
	DefaultLog, _ = newLog()
)

Functions

This section is empty.

Types

type Log

type Log interface {
	// Init initialises the authenticator options
	Init(opts ...Option) error

	Options() Options

	Debug(format string)
	Debugf(format string, v ...interface{})
	Info(format string)
	Infof(format string, v ...interface{})
	Warn(format string)
	Warnf(format string, v ...interface{})
	Error(format string)
	Errorf(format string, v ...interface{})
	Fatal(format string)
	Fatalf(format string, v ...interface{})
}

type Option

type Option func(options *Options)

type Options

type Options struct {
	ServiceName string
	Level       string
}

Jump to

Keyboard shortcuts

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