cleanup debug trace listener
This commit is contained in:
Родитель
c22a9da475
Коммит
265ecf34c7
|
@ -1,9 +1,8 @@
|
|||
namespace NextcloudApp.Utils
|
||||
using SQLite.Net;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace NextcloudApp.Utils
|
||||
{
|
||||
using SQLite.Net;
|
||||
using System.Diagnostics;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Writes SQLite.NET trace to the debug window.
|
||||
/// </summary>
|
||||
|
@ -11,7 +10,7 @@
|
|||
{
|
||||
public void Receive(string message)
|
||||
{
|
||||
//Debug.WriteLine(message);
|
||||
Debug.WriteLine(message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,8 +40,10 @@ namespace NextcloudApp.Utils
|
|||
|
||||
_dbConnection = new SQLiteConnection(new SQLitePlatformWinRT(), DbPath)
|
||||
{
|
||||
#if DEBUG
|
||||
// Activate Tracing
|
||||
TraceListener = new DebugTraceListener()
|
||||
#endif
|
||||
};
|
||||
|
||||
// Init tables
|
||||
|
|
Загрузка…
Ссылка в новой задаче