Skip to content

Commit

Permalink
Bug corrected: SQLite logging level would not log as Debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
markhotchkiss committed Feb 7, 2017
1 parent 34e9720 commit 4e55ff0
Show file tree
Hide file tree
Showing 35 changed files with 18 additions and 9 deletions.
Binary file modified .vs/ErrorLogger/v14/.suo
Binary file not shown.
10 changes: 8 additions & 2 deletions MJH.Logger/Factories/LoggerFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,16 @@ internal ILogger GetLoggerRepository()
};
break;
case LoggingTypeModel.LogOutputType.SQL:
repo = new SqlLogger();
repo = new SqlLogger()
{
LoggingLevel = _config.LoggingLevel
};
break;
case LoggingTypeModel.LogOutputType.SQLite:
repo = new SqliteLogger();
repo = new SqliteLogger()
{
LoggingLevel = _config.LoggingLevel
};
break;
default:
throw new ArgumentOutOfRangeException();
Expand Down
4 changes: 2 additions & 2 deletions MJH.Logger/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.9.0")]
[assembly: AssemblyFileVersion("1.7.9.0")]
[assembly: AssemblyVersion("1.8.0.0")]
[assembly: AssemblyFileVersion("1.8.0.0")]
Binary file modified MJH.Logger/bin/Debug/MJH.Logger.dll
Binary file not shown.
Binary file modified MJH.Logger/bin/Debug/MJH.Logger.pdb
Binary file not shown.
1 change: 1 addition & 0 deletions MJH.Logger/bin/Debug/nunit_random_seed.tmp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2000561313
2 changes: 1 addition & 1 deletion MJH.Logger/bin/Release/$RANDOM_SEED$
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2059114965
1692235692
Binary file modified MJH.Logger/bin/Release/MJH.Logger.dll
Binary file not shown.
Binary file modified MJH.Logger/bin/Release/MJH.Logger.pdb
Binary file not shown.
1 change: 1 addition & 0 deletions MJH.Logger/bin/Release/nunit_random_seed.tmp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
89401850
Binary file modified MJH.Logger/obj/Debug/MJH.Logger.dll
Binary file not shown.
Binary file modified MJH.Logger/obj/Debug/MJH.Logger.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ D:\SourceCode\VS2015\Projects\Personal\ErrorLogger\MJH.Logger\obj\Release\MJH.Lo
D:\SourceCode\VS2015\Projects\Personal\ErrorLogger\MJH.Logger\obj\Release\MJH.Logger.pdb
D:\SourceCode\VS2015\Projects\Personal\ErrorLogger\MJH.Logger\bin\Release\CsvHelper.dll
D:\SourceCode\VS2015\Projects\Personal\ErrorLogger\MJH.Logger\bin\Release\CsvHelper.xml
D:\SourceCode\VS2015\Projects\Personal\ErrorLogger\MJH.Logger\obj\Release\MJH.Logger.csprojResolveAssemblyReference.cache
Binary file not shown.
Binary file modified MJH.Logger/obj/Release/MJH.Logger.dll
Binary file not shown.
Binary file modified MJH.Logger/obj/Release/MJH.Logger.pdb
Binary file not shown.
4 changes: 2 additions & 2 deletions MJH.UnitTests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.9.0")]
[assembly: AssemblyFileVersion("1.7.9.0")]
[assembly: AssemblyVersion("1.8.0.0")]
[assembly: AssemblyFileVersion("1.8.0.0")]
2 changes: 1 addition & 1 deletion MJH.UnitTests/bin/Debug/LoggerConfig.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LoggerConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<LoggerType>TextFile</LoggerType>
<LoggerType>SQLite</LoggerType>
<LoggingLevel>Debug</LoggingLevel>
<Sql>
<ServerInformation>
Expand Down
Binary file modified MJH.UnitTests/bin/Debug/MJH.Logger.dll
Binary file not shown.
Binary file modified MJH.UnitTests/bin/Debug/MJH.Logger.pdb
Binary file not shown.
Binary file modified MJH.UnitTests/bin/Debug/MJH.UnitTests.dll
Binary file not shown.
Binary file modified MJH.UnitTests/bin/Debug/MJH.UnitTests.pdb
Binary file not shown.
1 change: 1 addition & 0 deletions MJH.UnitTests/bin/Debug/nunit_random_seed.tmp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2000561313
Binary file modified MJH.UnitTests/bin/Release/MJH.Logger.dll
Binary file not shown.
Binary file modified MJH.UnitTests/bin/Release/MJH.Logger.pdb
Binary file not shown.
Binary file modified MJH.UnitTests/bin/Release/MJH.UnitTests.dll
Binary file not shown.
Binary file modified MJH.UnitTests/bin/Release/MJH.UnitTests.pdb
Binary file not shown.
1 change: 1 addition & 0 deletions MJH.UnitTests/bin/Release/nunit_random_seed.tmp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
89401850
Binary file not shown.
Binary file modified MJH.UnitTests/obj/Debug/MJH.UnitTests.dll
Binary file not shown.
Binary file modified MJH.UnitTests/obj/Debug/MJH.UnitTests.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified MJH.UnitTests/obj/Release/MJH.UnitTests.dll
Binary file not shown.
Binary file modified MJH.UnitTests/obj/Release/MJH.UnitTests.pdb
Binary file not shown.

0 comments on commit 4e55ff0

Please sign in to comment.