Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added CustomLogger and removed log4net, added FileConfiguration that …
…is passed to the repository constructor, instead of passing a file name to the method. This is done to accomodate one of our custom apps.
- Loading branch information
1 parent
356833e
commit c22cb93
Showing
39 changed files
with
450 additions
and
28,732 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file renamed
BIN
+17 KB
src/ExcelMapper.Tests/Excel/Users.xls → src/ExcelMapper.Tests/Excel/UsersXls.xls
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/ExcelMapper.Tests/RunTimCodeGeneratorLoggingConfig.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<log4net> | ||
<appender name="Console" type="log4net.Appender.ConsoleAppender"> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%5level [%thread](%file:%line) - %message%newline" /> | ||
</layout> | ||
</appender> | ||
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender"> | ||
<file value="Logs/RunTimeCodeGenerator.log" /> | ||
<appendToFile value="true" /> | ||
<maximumFileSize value="1000KB" /> | ||
<maxSizeRollBackups value="10" /> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%date %level %thread %logger - %message%newline" /> | ||
</layout> | ||
</appender> | ||
<root> | ||
<level value="WARN" /> | ||
<!-- OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL --> | ||
<appender-ref ref="Console" /> | ||
<appender-ref ref="RollingFile" /> | ||
</root> | ||
</log4net> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace ExcelMapper.Configuration | ||
{ | ||
public interface IFileConfiguration | ||
{ | ||
string FileName { get; set; } | ||
} | ||
|
||
public class FileConfiguration : IFileConfiguration | ||
{ | ||
public string FileName { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.