1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- using System;
- namespace WWPipeLine.Commons
- {
- public static class LogHelper
- {
- private static WWPipeLine.Commons.Log4Logger log = new Log4Logger();
- public static void Debug(string message)
- {
- log.Debug(message);
- }
- public static void Error(Exception ex)
- {
- log.Error(ex);
- }
- public static void Error(string message)
- {
- log.Debug(message);
- }
- public static void Fatal(Exception ex)
- {
- log.Fatal(ex);
- }
- public static void Fatal(string message)
- {
- log.Debug(message);
- }
- public static void Info(string message)
- {
- log.Debug(message);
- }
- public static void Warn(string message)
- {
- log.Debug(message);
- }
- }
- }
|