Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. internal class CommonNLogResolver : ICommonLogger
  2. {
  3. private readonly NLog.Logger commonLog;
  4. private readonly NLog.Logger errorLog;
  5. private readonly NLog.Logger dataBaseLog;
  6. private readonly NLog.Logger logExceptionLogger;
  7. private readonly NLog.Logger clientLogger;
  8.  
  9. public CommonNLoggerResolver()
  10. {
  11. commonLog = NLog.LogManager.GetLogger(Constants.CommonLog);
  12. errorLog = NLog.LogManager.GetLogger(Constants.ErrorLog);
  13. dataBaseLog = NLog.LogManager.GetLogger(Constants.DBLog);
  14. logExceptionLogger = NLog.LogManager.GetLogger(Constants.LogExceptionLog);
  15. clientLogger = NLog.LogManager.GetLogger(Constants.ReportLog);
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement