Esempio n. 1
0
 private ILog GetUnhandledFileLogger(string methodSignature)
 {
     methodSignature = CommonUtility.MakeAlphaNumeric(methodSignature);
     return(LogManager.GetLogger(methodSignature));
 }
Esempio n. 2
0
 /// <summary>
 /// Returns a log with namespace that is nested in the handled
 /// namespace root and has the class name specified, used to
 /// monitor admin activity.
 /// </summary>
 /// <param name="className">Name of the class where the exception occured</param>
 /// <returns>Returns a logger object</returns>
 private ILog GetInfoLogger(string methodSignature)
 {
     methodSignature = CommonUtility.MakeAlphaNumeric(methodSignature);
     return(LogManager.GetLogger(INFO_LOGGER_NAME + "." + methodSignature));
 }
Esempio n. 3
0
 /// <summary>
 /// Returns a log with namespace that is nested in the handled
 /// namespace root and has the class name specified
 /// </summary>
 /// <param name="className">Name of the class where the exception occured</param>
 /// <returns>Returns a logger object</returns>
 private ILog GetHandledFileLogger(string methodSignature)
 {
     methodSignature = CommonUtility.MakeAlphaNumeric(methodSignature);
     return(LogManager.GetLogger(HANDLED_FILE_LOGGER_NAME + "." + methodSignature));
 }