What is meant of
private static readonly ILog log = LogManager.GetLogger(typeof(AccountController));
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Surya KantPosted Aug 30, 2016, 1:04 AM
LogManager is a class has static methods that are used by a client to request a logger instance. The GetLogger method is used to retrieve a logger.The GetLogger method return the object of type ILog which contains methods for logging at different levels and also has properties for determining if those logging levels are enabled in the current configuration.