예제 #1
0
		public override ILogger Create(string name, LoggerLevel level)
		{
			var logger =
				new StreamLogger(name, new FileStream(name + ".log", FileMode.Append, FileAccess.Write), Encoding.Default);
			logger.Level = level;
			return logger;
		}
예제 #2
0
        public override ILogger Create(string name, LoggerLevel level)
        {
            var logger =
                new StreamLogger(name, new FileStream(name + ".log", FileMode.Append, FileAccess.Write));

            logger.Level = level;
            return(logger);
        }