Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- internal class CommonNLogResolver : ICommonLogger
- {
- private readonly NLog.Logger commonLog;
- private readonly NLog.Logger errorLog;
- private readonly NLog.Logger dataBaseLog;
- private readonly NLog.Logger logExceptionLogger;
- private readonly NLog.Logger clientLogger;
- public CommonNLoggerResolver()
- {
- commonLog = NLog.LogManager.GetLogger(Constants.CommonLog);
- errorLog = NLog.LogManager.GetLogger(Constants.ErrorLog);
- dataBaseLog = NLog.LogManager.GetLogger(Constants.DBLog);
- logExceptionLogger = NLog.LogManager.GetLogger(Constants.LogExceptionLog);
- clientLogger = NLog.LogManager.GetLogger(Constants.ReportLog);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement