internal override List <ILogTarget> GetLogTargets() { var targets = new List <ILogTarget>(); var formater = new LogMessageFormater(LogLevel, new ProviderFactory(), "|"); var target = new Output(formater, new ConsoleWriter()); targets.Add(target); return(targets); }
internal override List <ILogTarget> GetLogTargets() { var targets = new List <ILogTarget>(); var formater = new LogMessageFormater(LogLevel, new ProviderFactory(), "|"); var target = new Output(formater, new FileWriter( new FrequencyBaseFileNameProvider( new FrequencyBasedFileNameProviderFactory( new ProviderFactory()), this ))); targets.Add(target); return(targets); }