logger

package
v0.0.0-...-134a4a7 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close close resource.

func Debug

func Debug(format string, args ...interface{})

Debug write error log to file or elk.

func Error

func Error(format string, args ...interface{})

Error write error log to file or elk.

func Info

func Info(format string, args ...interface{})

Info write info log to file or elk.

func InfoTrace

func InfoTrace(traceID, path, msg string, tm float64)

InfoTrace write info log to file or elk with traceid.

func Init

func Init(dir string)

Init log init

func Warn

func Warn(format string, args ...interface{})

Warn write warn log to file or elk.

Types

This section is empty.

Jump to

Keyboard shortcuts

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