0
Answer

write to file into blob storage using nlog

Hi,
Please help me with how to log exceptions into azure blob storage using Nlog?
given below is my code in webconfig
<target name="azureError" type="AzureBlob" layout="${longdate:universalTime=true} ${level:uppercase=true} - ${logger}: ${message} ${exception:format=tostring:innerFormat=tostring:maxInnerExceptionLevel=1000}" connectionString="azureconnectionstring" container="containername"
blobName="/foldername/${shortdate}.txt"/>