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;
		}
Exemple #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);
        }