在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
package blog4go
// Hook Interface determine types of functions should be declared and
// implemented when user offers user defined function call before every
// logging action end.
// users may use this hook as a callback function when something happen.
// Fire function received two parameters.
// level is the level associate with that logging action.
// message is the formatted string already written.
type Hook interface {
Fire(level LevelType, args ...interface{})
}
|
请发表评论