public class LogHelper : Abp.Domain.Services.DomainService { public static void Debug(object message) { Swj.Infrastructure.Tools.Logging.LogHelper.Debug(message.ToString()); } public static void Debug(object message, Exception exception) { Swj.Infrastructure.Tools.Logging.LogHelper.Debug(message.ToString() + exception.Message); } public static void Error(object message) { Swj.Infrastructure.Tools.Logging.LogHelper.Error(message.ToString()); } public static void Error(object message, Exception exception) { Swj.Infrastructure.Tools.Logging.LogHelper.Error(message.ToString(), exception); } public static void Fatal(object message) { Swj.Infrastructure.Tools.Logging.LogHelper.Fatal(message.ToString()); } public static void Fatal(object message, Exception exception) { Swj.Infrastructure.Tools.Logging.LogHelper.Fatal(message.ToString(), exception); } public static void Info(object message) { Swj.Infrastructure.Tools.Logging.LogHelper.Info(message.ToString()); } public static void Info(object message, Exception exception) { Swj.Infrastructure.Tools.Logging.LogHelper.Info(message.ToString() + exception.Message); } public static void Warn(object message) { Swj.Infrastructure.Tools.Logging.LogHelper.Warn(message.ToString()); } public static void Warn(object message, Exception exception) { Swj.Infrastructure.Tools.Logging.LogHelper.Warn(message.ToString() + exception.Message); } }