GetFormat Method

Serilog Sinks AmazonS3

Serilog.Sinks.AmazonS3

RollingIntervalExtensions..::..GetFormat Method

Gets the format for the [RollingInterval].

Namespace:  Serilog.Sinks.AmazonS3
Assembly:  Serilog.Sinks.AmazonS3 (in Serilog.Sinks.AmazonS3.dll)

Syntax


public static string GetFormat(
	RollingInterval interval
)
Public Shared Function GetFormat ( _
	interval As RollingInterval _
) As String
public:
static String^ GetFormat(
	RollingInterval^ interval
)

Parameters

interval
Type: Serilog.Sinks.AmazonS3..::..RollingInterval
The interval.

Return Value

The format for the [RollingInterval].

Exceptions


ExceptionCondition
[ArgumentException]Invalid rolling interval.