logd

package
v0.0.0-...-ff36db3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Level_INFO    LogLevel = "INFO"
	Level_DEBUG            = "DEBUG"
	Level_WARNING          = "WARNING"
	Level_ERROR            = "ERROR"
)

Variables

This section is empty.

Functions

func GetLogpath

func GetLogpath() string

getLogpath 获取产生日志的路径.

func Make

func Make(level LogLevel, logpath string, msg interface{})

Types

type LogLevel

type LogLevel string

Level .

Jump to

Keyboard shortcuts

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