Posted By

MysteryMeat on 10/21/11


Tagged

log region log4net


Versions (?)

Simple Instance Of Log4Net Logger


 / Published in: C#
 

  1. #region Logger
  2. /// <summary>
  3. /// Log4Net Instance
  4. /// </summary>
  5. public ILog Log
  6. {
  7. get { return LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); }
  8. }
  9. #endregion

Report this snippet  

You need to login to post a comment.