public Log4netProvider(ILog logger)
 {
     logger.ThrowIfNull("logger", "Parameter cannot be null.");
     _logger = logger;
 }