sys

package
v0.0.0-...-e1989bb Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

**************************************************

** @Desc : This file for ...
** @Time : 2019.04.01 12:56
** @Author : Joker
** @File : init
** @Last Modified by : Joker
** @Last Modified time: 2019.04.01 12:56
** @Software: GoLand

***************************************************

**************************************************

** @Desc : This file for 配置数据库连接
** @Time : 2018-12-22 13:55:26
** @Author : Joker
** @File : init_database.go
** @Last Modified by : Joker
** @Last Modified time:2018-12-22 13:55:26
** @Software: GoLand

***************************************************

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDatabase

func InitDatabase() bool

初始化数据连接

func InitLogs

func InitLogs()

func InitSystem

func InitSystem()

func LogAlert

func LogAlert(v ...interface{})

func LogCritical

func LogCritical(v ...interface{})

func LogDebug

func LogDebug(v ...interface{})

func LogEmergency

func LogEmergency(v ...interface{})

根据错误/异常打印不同日志

func LogError

func LogError(v ...interface{})

func LogInfo

func LogInfo(v ...interface{})

func LogNotice

func LogNotice(v ...interface{})

func LogTrace

func LogTrace(v ...interface{})

func LogWarning

func LogWarning(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