JsonLogFormatter Constructor (JsonFormatting)
Initializes a new instance of the JsonLogFormatter class with the specified formatting options.
Namespace: Microsoft.Practices.EnterpriseLibrary.Logging.Formatters
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
public JsonLogFormatter(
JsonFormatting formatting
)
'Declaration
Public Sub New (
formatting As JsonFormatting
)
public:
JsonLogFormatter(
JsonFormatting formatting
)
Parameters
- formatting
Type: Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.JsonFormatting
The formatting options.
See Also
JsonLogFormatter Overload
Microsoft.Practices.EnterpriseLibrary.Logging.Formatters Namespace