-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to specify a string array #98
Comments
Sorry if I'm asking a stupid question, but are these changes available in the NuGet package? Version 2.6.1 seems to be too old to contain these changes. Is it released as a pre-release version? |
https://www.nuget.org/packages/Serilog.Settings.Configuration/3.0.0-dev-00103 is the one you're looking for 👍 |
Thank you @nblumhardt ; I'll check that out |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm using
Serilog.Sinks.AzureTableStorage
package and more specifically, theWriteTo.AzureTableStorageWithProperties
, which accepts apropertyColumns
argument, which is of typestring[]
.No matter what I tried, I can't make it work so that I can pass an array of strings in my
appsettings.json
(or using the colon-separated syntax from my environment variables).I tried doing something like this in
appsettings.json
:But I get an error saying that
Argument value should be of type Action<>
.I tried this:
"propertyColumns": "Column1, Column2"
, but this one also blows.I also tried using environment variables, e.g.:
But, again no luck :(
So, is it possible somehow to specify a string array using this library? If so, what am I missing here?
I would really, really appreciate if you help me out here
The text was updated successfully, but these errors were encountered: