Language

Log.FormatProvider Property

Definition

IFormatProvider passed to any underlying string.Format() calls. Defaults to System.Globalization.CultureInfo.CurrentCulture.

public static IFormatProvider FormatProvider { get; set; }
static member FormatProvider : IFormatProvider with get, set

Property Value

The format provider supplied to composite-message formatting.

Remarks

The initial provider is captured from the current culture during type initialization. The composite-format logging overloads pass this property to string.Format.

Applies to