ShareLogService.cs 568 B

123456789101112131415161718192021222324
  1. //using System;
  2. //namespace WWPipeLine.Commons
  3. //{
  4. // public class ShareLogService : ShareLog.ISync
  5. // {
  6. // public delegate void SendMsg(string msg, string type);
  7. // public event SendMsg SendMsgEvent;
  8. // public string SendMessage(string message, string type = "")
  9. // {
  10. // try
  11. // {
  12. // SendMsgEvent?.Invoke(message, type);
  13. // }
  14. // catch (Exception ex)
  15. // {
  16. // LogHelper.Error(ex);
  17. // }
  18. // return "";
  19. // }
  20. // }
  21. //}