ILogger.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System;
  2. namespace Xilium.CefGlue.Helpers.Log
  3. {
  4. public interface ILogger
  5. {
  6. void TraceException(string message, Exception exception);
  7. void Trace(string message, params object[] args);
  8. void DebugException(string message, Exception exception);
  9. void Debug(string message, params object[] args);
  10. void ErrorException(string message, Exception exception);
  11. void Error(string message, params object[] args);
  12. void FatalException(string message, Exception exception);
  13. void Fatal(string message, params object[] args);
  14. void InfoException(string message, Exception exception);
  15. void Info(string message, params object[] args);
  16. void WarnException(string message, Exception exception);
  17. void Warn(string message, params object[] args);
  18. bool IsTraceEnabled { get; }
  19. bool IsDebugEnabled { get; }
  20. bool IsErrorEnabled { get; }
  21. bool IsFatalEnabled { get; }
  22. bool IsInfoEnabled { get; }
  23. bool IsWarnEnabled { get; }
  24. }
  25. }