If the connection string is configured via dotnet user-secrets, nlog logs the following error in its internal log and is unable to log to blob storage.
Error AzureBlobStorageTarget(Name=blob): Failed to create BlobClient with connectionString=. Exception: System.ArgumentNullException: Value cannot be null. (Parameter 'connectionString')
Using appsettings.json (snipped):
"connectionString": "${configsetting:ConnectionStrings.Storage}"
"ConnectionStrings": { "Storage": "" }
See https://docs.microsoft.com/en-us/aspnet/core/security/app-secrets