Log.cs 441 B

123456789101112131415161718192021222324252627
  1. namespace Base
  2. {
  3. public static class Log
  4. {
  5. private static readonly ILog globalLog = new NLogAdapter();
  6. public static void Warning(string message)
  7. {
  8. globalLog.Warning(message);
  9. }
  10. public static void Info(string message)
  11. {
  12. globalLog.Info(message);
  13. }
  14. public static void Debug(string message)
  15. {
  16. globalLog.Debug(message);
  17. }
  18. public static void Error(string message)
  19. {
  20. globalLog.Error(message);
  21. }
  22. }
  23. }