NlogToSqlite 1.0.7.14
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package NlogToSqlite --version 1.0.7.14
NuGet\Install-Package NlogToSqlite -Version 1.0.7.14
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NlogToSqlite" Version="1.0.7.14" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NlogToSqlite --version 1.0.7.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NlogToSqlite, 1.0.7.14"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NlogToSqlite as a Cake Addin #addin nuget:?package=NlogToSqlite&version=1.0.7.14 // Install NlogToSqlite as a Cake Tool #tool nuget:?package=NlogToSqlite&version=1.0.7.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
1.Nlog設定
需注意dbProvider區段的sqlite的Version及PublickenToken是否與目前版本相符。
2.App_Data\LogDb.db
→右鍵→屬性→建置動作→勾選『內容』
→右鍵→屬性→複製到輸出目錄→勾選『不要複製』
3.LogSimple
NlogHelper._systemLog.ErrorException("EditError", ex);
4.Nlog.Config
可設定throwExceptions="true"方便查詢設定是否正確
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
- NLog (>= 2.0.1.2)
- NLog.Config (>= 2.0.1.2)
- System.Data.SQLite (>= 1.0.87)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
1.0.7.11新增PowerShell讀取SqliteVersion更新Nlog設定
1.0.7.14更新PowerShell讀取SqliteVersion更新Nlog設定、修正db欄位名稱