Skip to content

Commit d7e0dbd

Browse files
authored
Update README.md references to 4.0 -> 7.0
1 parent 0793eba commit d7e0dbd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ You can also declare `LoggingLevelSwitch`-es in custom section and reference the
186186

187187
Level updates to switches are also respected for a dynamic update.
188188

189-
Since version 4.0.0, both declared switches (i.e. `Serilog:LevelSwitches` section) and minimum level override switches (i.e. `Serilog:MinimumLevel:Override` section) are exposed through a callback on the reader options so that a reference can be kept:
189+
Since version 7.0.0, both declared switches (i.e. `Serilog:LevelSwitches` section) and minimum level override switches (i.e. `Serilog:MinimumLevel:Override` section) are exposed through a callback on the reader options so that a reference can be kept:
190190

191191
```csharp
192192
var allSwitches = new Dictionary<string, LoggingLevelSwitch>();
@@ -275,7 +275,7 @@ Using this package you can also declare `LoggingFilterSwitch`-es in custom secti
275275

276276
Level updates to switches are also respected for a dynamic update.
277277

278-
Since version 4.0.0, filter switches are exposed through a callback on the reader options so that a reference can be kept:
278+
Since version 7.0.0, filter switches are exposed through a callback on the reader options so that a reference can be kept:
279279

280280
```csharp
281281
var filterSwitches = new Dictionary<string, ILoggingFilterSwitch>();
@@ -317,7 +317,7 @@ Some Serilog packages require a reference to a logger configuration object. The
317317

318318
When the configuration specifies a discrete value for a parameter (such as a string literal), the package will attempt to convert that value to the target method's declared CLR type of the parameter. Additional explicit handling is provided for parsing strings to `Uri`, `TimeSpan`, `enum`, arrays and custom collections.
319319

320-
Since version 4.0.0, conversion will use the invariant culture (`CultureInfo.InvariantCulture`) as long as the `ReadFrom.Configuration(IConfiguration configuration, ConfigurationReaderOptions options)` method is used. Obsolete methods use the current culture to preserve backward compatibility.
320+
Since version 7.0.0, conversion will use the invariant culture (`CultureInfo.InvariantCulture`) as long as the `ReadFrom.Configuration(IConfiguration configuration, ConfigurationReaderOptions options)` method is used. Obsolete methods use the current culture to preserve backward compatibility.
321321

322322
### Static member support
323323

0 commit comments

Comments
 (0)