logger

package
v1.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Access

func Access(ctx *context.Context)

func Error

func Error(err ...interface{})

func Info

func Info(info ...interface{})

func LogSql

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

func OpenSqlLog

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

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