logger

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Access added in v0.0.5

func Access(ctx *context.Context)

func Error

func Error(err ...interface{})

func Info

func Info(info ...interface{})

func LogSql added in v0.0.5

func LogSql(statement string, args []interface{})

func OpenSqlLog added in v0.0.5

func OpenSqlLog()

func SetAccessLogger

func SetAccessLogger(path string, debug, isAccessLogOn bool)

func SetErrorLogger

func SetErrorLogger(path string, debug, isErrorLogOn bool)

func SetInfoLogger

func SetInfoLogger(path string, debug, isInfoLogOn bool)

func SetLogger added in v0.0.5

func SetLogger(kind, path string, debug bool)

func Warn

func Warn(info ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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