Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/HeuristicLab.ExtLibs/HeuristicLab.EPPlus/4.0.3/EPPlus-4.0.3/FormulaParsing/Logging/LoggerFactory.cs @ 17886

Last change on this file since 17886 was 12074, checked in by sraggl, 10 years ago

#2341: Added EPPlus-4.0.3 to ExtLibs

File size: 663 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.IO;
4using System.Linq;
5using System.Text;
6
7namespace OfficeOpenXml.FormulaParsing.Logging
8{
9    /// <summary>
10    /// Create loggers that can be used for logging the formula parser.
11    /// </summary>
12    public static class LoggerFactory
13    {
14        /// <summary>
15        /// Creates a logger that logs to a simple textfile.
16        /// </summary>
17        /// <param name="file"></param>
18        /// <returns></returns>
19        public static IFormulaParserLogger CreateTextFileLogger(FileInfo file)
20        {
21            return new TextFileLogger(file);
22        }
23    }
24}
Note: See TracBrowser for help on using the repository browser.