-
Notifications
You must be signed in to change notification settings - Fork 0
0ac89d22 902a 44a6 b100 5f17324e6a83
Axel Kesseler edited this page Mar 1, 2023
·
14 revisions
Calculates the threshold as number of bytes.
Namespace: Plexdata.LogWriter.Internals.Extensions
Assembly: Plexdata.LogWriter.Persistent (in Plexdata.LogWriter.Persistent.dll) Version: 1.0.7.1
C#
private static int GetThresholdInBytes(
this IPersistentLoggerSettings settings
)
- settings
- Type: Plexdata.LogWriter.Abstraction.IPersistentLoggerSettings
The logger settings to be used.
Type: Int32
The number of bytes for the threshold.
In Visual Basic and C#, you can call this method as an instance method on any object of type IPersistentLoggerSettings. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
This method calculates the threshold as number of bytes and returns it.
SettingsPoliciesExtension Class
Plexdata.LogWriter.Internals.Extensions Namespace