Log.FormatProvider Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.