|
232 | 232 | </xs:extension> |
233 | 233 | </xs:complexContent> |
234 | 234 | </xs:complexType> |
235 | | - <xs:complexType name="Layout"></xs:complexType> |
236 | 235 | <xs:complexType name="Filter" abstract="true"></xs:complexType> |
237 | 236 | <xs:complexType name="TimeSource" abstract="true"></xs:complexType> |
238 | 237 | <xs:simpleType name="SimpleLayoutAttribute"> |
|
1020 | 1019 | <xs:element name="archiveFileName" minOccurs="0" maxOccurs="1" type="Layout" /> |
1021 | 1020 | <xs:element name="archiveEvery" minOccurs="0" maxOccurs="1" type="NLog.Targets.FileArchivePeriod" /> |
1022 | 1021 | <xs:element name="archiveAboveSize" minOccurs="0" maxOccurs="1" type="xs:long" /> |
1023 | | - <xs:element name="maxArchiveFiles" minOccurs="0" maxOccurs="1" type="xs:integer" /> |
1024 | 1022 | <xs:element name="enableArchiveFileCompression" minOccurs="0" maxOccurs="1" type="xs:boolean" /> |
| 1023 | + <xs:element name="maxArchiveFiles" minOccurs="0" maxOccurs="1" type="xs:integer" /> |
1025 | 1024 | <xs:element name="forceManaged" minOccurs="0" maxOccurs="1" type="xs:boolean" /> |
1026 | 1025 | <xs:element name="cleanupFileName" minOccurs="0" maxOccurs="1" type="xs:boolean" /> |
1027 | 1026 | <xs:element name="fileName" minOccurs="0" maxOccurs="1" type="Layout" /> |
|
1093 | 1092 | <xs:documentation>Size in bytes above which log files will be automatically archived. Warning: combining this with isn't supported. We cannot create multiple archive files, if they should have the same name. Choose: </xs:documentation> |
1094 | 1093 | </xs:annotation> |
1095 | 1094 | </xs:attribute> |
1096 | | - <xs:attribute name="maxArchiveFiles" type="xs:integer"> |
| 1095 | + <xs:attribute name="enableArchiveFileCompression" type="xs:boolean"> |
1097 | 1096 | <xs:annotation> |
1098 | | - <xs:documentation>Maximum number of archive files that should be kept.</xs:documentation> |
| 1097 | + <xs:documentation>Indicates whether to compress archive files into the zip archive format.</xs:documentation> |
1099 | 1098 | </xs:annotation> |
1100 | 1099 | </xs:attribute> |
1101 | | - <xs:attribute name="enableArchiveFileCompression" type="xs:boolean"> |
| 1100 | + <xs:attribute name="maxArchiveFiles" type="xs:integer"> |
1102 | 1101 | <xs:annotation> |
1103 | | - <xs:documentation>Indicates whether to compress archive files into the zip archive format.</xs:documentation> |
| 1102 | + <xs:documentation>Maximum number of archive files that should be kept.</xs:documentation> |
1104 | 1103 | </xs:annotation> |
1105 | 1104 | </xs:attribute> |
1106 | 1105 | <xs:attribute name="forceManaged" type="xs:boolean"> |
|
2238 | 2237 | <xs:enumeration value="HttpGet" /> |
2239 | 2238 | </xs:restriction> |
2240 | 2239 | </xs:simpleType> |
| 2240 | + <xs:complexType name="CompoundLayout"> |
| 2241 | + <xs:complexContent> |
| 2242 | + <xs:extension base="Layout"> |
| 2243 | + <xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 2244 | + <xs:element name="layout" minOccurs="0" maxOccurs="unbounded" type="Layout" /> |
| 2245 | + </xs:choice> |
| 2246 | + </xs:extension> |
| 2247 | + </xs:complexContent> |
| 2248 | + </xs:complexType> |
| 2249 | + <xs:complexType name="Layout"> |
| 2250 | + <xs:choice minOccurs="0" maxOccurs="unbounded" /> |
| 2251 | + </xs:complexType> |
2241 | 2252 | <xs:complexType name="CsvLayout"> |
2242 | 2253 | <xs:complexContent> |
2243 | 2254 | <xs:extension base="Layout"> |
|
2334 | 2345 | <xs:extension base="Layout"> |
2335 | 2346 | <xs:choice minOccurs="0" maxOccurs="unbounded"> |
2336 | 2347 | <xs:element name="attribute" minOccurs="0" maxOccurs="unbounded" type="NLog.Layouts.JsonAttribute" /> |
| 2348 | + <xs:element name="renderEmptyObject" minOccurs="0" maxOccurs="1" type="xs:boolean" /> |
2337 | 2349 | <xs:element name="suppressSpaces" minOccurs="0" maxOccurs="1" type="xs:boolean" /> |
2338 | 2350 | </xs:choice> |
| 2351 | + <xs:attribute name="renderEmptyObject" type="xs:boolean"> |
| 2352 | + <xs:annotation> |
| 2353 | + <xs:documentation>Option to render the empty object value {}</xs:documentation> |
| 2354 | + </xs:annotation> |
| 2355 | + </xs:attribute> |
2339 | 2356 | <xs:attribute name="suppressSpaces" type="xs:boolean"> |
2340 | 2357 | <xs:annotation> |
2341 | 2358 | <xs:documentation>Option to suppress the extra spaces in the output json</xs:documentation> |
|
0 commit comments