package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Nov 22, 2019
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
通用错误处理日志记录:错误已经发生,特别区分handler和model位置的错误;
由错误处理函数调用,path在错误处理跟踪
退出程序的日志记录:致命错误导致程序退出;
由Ef函数调用,path在错误处理跟踪
func InfoLog(where, info string)
信息日志记录:通知用户一个操作或状态发生了变化,只作为正常输出;
由业务逻辑直接调用
警告日志记录:当前或未来潜在问题(比如响应速度慢、连接断开、内存吃紧等等);
由业务逻辑直接调用
Source Files
¶
Click to show internal directories.
Click to hide internal directories.