master
 1using System;
 2using log4net;
 3
 4namespace Notepad.Infrastructure.Logging.Log4NetLogging {
 5    public class Log4NetLogger : ILogger {
 6        private readonly ILog log;
 7
 8        public Log4NetLogger(ILog log) {
 9            this.log = log;
10        }
11
12        public void Informational(string formattedString, params object[] arguments) {
13            log.InfoFormat(formattedString, arguments);
14        }
15
16        public void Error(Exception e) {
17            log.Error(e.ToString());
18        }
19    }
20}