Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.IO;
|
---|
4 | using System.Linq;
|
---|
5 | using System.Text;
|
---|
6 |
|
---|
7 | namespace 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.