LogConfig.kt 699 B

1234567891011121314151617181920212223242526
  1. package com.adealink.weparty.log
  2. import com.adealink.frame.log.ILogConfig
  3. import com.adealink.frame.network.INetworkService
  4. import com.adealink.frame.oss.IOssService
  5. import com.adealink.weparty.App
  6. /**
  7. * Created by sunxiaodong on 2021/6/20.
  8. */
  9. class LogConfig : ILogConfig {
  10. override val networkService: INetworkService
  11. get() = App.instance.networkService
  12. override val ossService: IOssService
  13. get() = App.instance.ossService
  14. override fun stat(tag: String, msg: String) {
  15. // LogErrorStatEvent(LogErrorStatEvent.Action.LOG)
  16. // .apply {
  17. // this.tag to tag
  18. // this.msg to msg
  19. // }
  20. // .send()
  21. }
  22. }