Skip to content

0ac89d22 902a 44a6 b100 5f17324e6a83

Axel Kesseler edited this page Mar 1, 2023 · 14 revisions

SettingsPoliciesExtension.GetThresholdInBytes Method

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

Syntax

C#

private static int GetThresholdInBytes(
	this IPersistentLoggerSettings settings
)

Parameters

 

settings
Type: Plexdata.LogWriter.Abstraction.IPersistentLoggerSettings
The logger settings to be used.

Return Value

Type: Int32
The number of bytes for the threshold.

Usage Note

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).

Remarks

This method calculates the threshold as number of bytes and returns it.

See Also

Reference

SettingsPoliciesExtension Class
Plexdata.LogWriter.Internals.Extensions Namespace

Clone this wiki locally