Help us shape the future of Go! Take the 2026 Go Developer Survey

golog

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

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

Go to latest
Published: Aug 8, 2019 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Log = logging.MustGetLogger("example")
)

Functions

func Critical

func Critical(selector string, format string, v ...interface{})

func Debug

func Debug(selector string, format string, v ...interface{})

func Error

func Error(selector string, format string, v ...interface{})

func Fatal

func Fatal(selector string, format string, v ...interface{})

func Info

func Info(selector string, format string, v ...interface{})

func Initial

func Initial()

func Logs

func Logs(logpath, frontend, backend string) (*logging.Logger, error)

func Notice

func Notice(selector string, format string, v ...interface{})

func Panic

func Panic(selector string, format string, v ...interface{})

func Warn

func Warn(selector string, format string, v ...interface{})

Types

type Password

type Password string

Password is just an example type implementing the Redactor interface. Any time this is logged, the Redacted() function will be called.

func (Password) Redacted

func (p Password) Redacted() interface{}

Jump to

Keyboard shortcuts

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