Log.cs 523 B

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