Documentation
¶
Overview ¶
Package logfunc 提供一组预定义的 webapi.LogFunc ,以便快速实现 webapi.ApiLogger 。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Error ¶
func Error(state *webapi.ApiState)
Error 根据当前的错误信息,判断错误的级别,并输出错误的描述信息。
输出字段为: ErrorType/Error 。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.