logsagent

package
v0.0.0-...-9a46783 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alert

func Alert(f interface{}, v ...interface{})

Alert ..

func Critical

func Critical(f interface{}, v ...interface{})

Critical ..

func Debug

func Debug(f interface{}, v ...interface{})

Debug ..

func Emergency

func Emergency(f interface{}, v ...interface{})

Emergency ..

func Error

func Error(f interface{}, v ...interface{})

Error ..

func Info

func Info(f interface{}, v ...interface{})

Info ..

func Notice

func Notice(f interface{}, v ...interface{})

Notice ..

func SetLogger

func SetLogger(l Logger)

SetLogger ..

func Trace

func Trace(f interface{}, v ...interface{})

Trace ..

func Warn

func Warn(f interface{}, v ...interface{})

Warn ..

Types

type Logger

type Logger interface {
	Emergency(f string, v ...interface{})
	Alert(f string, v ...interface{})
	Critical(f string, v ...interface{})
	Error(f string, v ...interface{})
	Warn(f string, v ...interface{})
	Notice(f string, v ...interface{})
	Info(f string, v ...interface{})
	Debug(f string, v ...interface{})
	Trace(f string, v ...interface{})
}

Logger ..

Jump to

Keyboard shortcuts

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