###### tags: `CSharp` `Log` # Nlog Target為DB設置 Nlog為Dot Net記Log的Third Party選擇之一,除了提供Log File設定存取外,也可以直接透過Config設置直接存取至DB。以下為Nlog Config內容設置步驟 ## Step1: 至APP Config 設置好DB Link  ## Step2: 至Nlog設置Target與Rule   ## Step3 CLient端使用   ## Result  ### 備註  不方便的是Nlog Save Fail沒透過設置不會拋Exception 可以參照以下設置,此時就會在Console與file看到錯誤相關資料  
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up