lklog

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdapterConsole   = "console"
	AdapterFile      = "file"
	AdapterMultiFile = "multifile"
	AdapterMail      = "smtp"
	AdapterConn      = "conn"
	AdapterEs        = "es"
	AdapterJianLiao  = "jianliao"
	AdapterSlack     = "slack"
	AdapterAliLS     = "alils"
)

Variables

This section is empty.

Functions

func Alert

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

func Critical

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

func Debug

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

func Emergency

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

func Error

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

func Info

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

func InfoData

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

func Notice

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

func SetAlarmLogger

func SetAlarmLogger(adapterName string, configs ...string) error

func SetDataLogger

func SetDataLogger(adapterName string, configs ...string) error

func SetPrefix

func SetPrefix(role string, module string)

func Warn

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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