log

package
v0.0.0-...-39cdb81 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620

Index

Constants

View Source
const (
	//CallDepth设置为1,以影响
	//调用l.output()时跳过堆栈帧为1的日志消息
	CallDepth = 1
)

Variables

This section is empty.

Functions

func Crit

func Crit(msg string, ctx ...interface{})

crit是log.crit和stats的方便别名

func Debug

func Debug(msg string, ctx ...interface{})

调试是日志的一个方便别名。使用stats进行调试

func Error

func Error(msg string, ctx ...interface{})

错误是日志的方便别名。使用stats时出错

func Info

func Info(msg string, ctx ...interface{})

信息是日志的一个方便别名。带有统计信息的信息

func Trace

func Trace(msg string, ctx ...interface{})

trace是日志的方便别名。trace with stats

func Warn

func Warn(msg string, ctx ...interface{})

warn是日志的方便别名。warn with stats

Types

This section is empty.

Jump to

Keyboard shortcuts

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