func (l *LoggerMiddleware) printf(format string, a ...interface{}) { golog.Infof(format, a...) }
func (e *event) OnAfterInvoke(name string, args []reflect.Value, byref bool, result []reflect.Value, context hprose.Context) { if request, ok := context.GetInt64("request"); ok { golog.Infof("%v: %vns", name, time.Now().UnixNano()-request) } }