You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... as the title says.
I believe this is common enough that it might be worth adding support (in a future PR) to specifying the `enum` name when setting values via AppSettings. In the meantime, I'm adding docs to help clarify it works today.
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -128,3 +128,15 @@ and in XML
128
128
### Filtering
129
129
130
130
Filterscanbespecifiedusingthe_Serilog.Filters.Expressions_package; seethe [README](https://github.com/serilog/serilog-filters-expressions) there for more information.
Forexample, toconfigurethe `RollingInterval` ofthe [FileSink](https://github.com/serilog/serilog-sinks-file) to create a new log file per day, use `Day` instead of `RollingInterval.Day`:
Ifyouspecifythethenameoftheenumeration, you'll receive an error similar to `System.ArgumentException: Requested value 'RollingInterval.Day' was not found`
0 commit comments