 | JsonAttribute Constructor (String, JsonLayout) |
Namespace:
NLog.Layouts
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic JsonAttribute(
string name,
JsonLayout layout
)
Public Sub New (
name As String,
layout As JsonLayout
)
Dim name As String
Dim layout As JsonLayout
Dim instance As New JsonAttribute(name, layout)
new :
name : string *
layout : JsonLayout -> JsonAttributeParameters
- name
- Type: SystemString
The name of the attribute. - layout
- Type: NLog.LayoutsJsonLayout
The layout of the attribute's value (Default Encode = false).
See Also