GAAS GFrame项目web后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
391 B

  1. package container
  2. import (
  3. "reflect"
  4. )
  5. type LogBroker struct {
  6. // 调用器
  7. caller Caller
  8. // 代码文件
  9. codeFile string
  10. // 服务方法
  11. method string
  12. // 描述
  13. description string
  14. }
  15. func (broker *LogBroker) Call(in []reflect.Value) []reflect.Value {
  16. // Todo 调整Log
  17. //grmi.Log(session.user, builder.codeFile, builder.method, builder.description)
  18. return broker.caller(in)
  19. }