diff --git a/Wox.Infrastructure/NLog.xsd b/Wox.Infrastructure/NLog.xsd
index edf2b7087a..f942370cac 100644
--- a/Wox.Infrastructure/NLog.xsd
+++ b/Wox.Infrastructure/NLog.xsd
@@ -126,6 +126,11 @@
Ignore further rules if this one matches.
+
+
+ Enable or disable logging rule. Disabled rules are ignored.
+
+
@@ -147,6 +152,15 @@
+
+
+
+
+
+
+
+
+
@@ -226,58 +240,6 @@
-
-
-
-
-
-
-
-
-
-
-
- Name of the target.
-
-
-
-
- Maximum number of log events that the buffer can keep.
-
-
-
-
- Number of log events to be buffered.
-
-
-
-
- Indicates whether buffer should grow as needed.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name of the target.
-
-
-
-
- Layout used to format log messages.
-
-
-
-
-
@@ -540,6 +502,7 @@
+
@@ -567,6 +530,11 @@
Indicates whether to use default row highlighting rules.
+
+
+ The encoding for writing messages to the .
+
+
Indicates whether the error stream (stderr) should be used instead of the output stream (stdout).
@@ -667,6 +635,7 @@
+
@@ -693,6 +662,11 @@
Indicates whether to send the log messages to the standard error instead of the standard output.
+
+
+ The encoding for writing messages to the .
+
+
@@ -709,7 +683,6 @@
-
@@ -762,11 +735,6 @@
Indicates whether to keep the database connection open between the log events.
-
-
- Indicates whether to use database transactions. Some data providers require this.
-
-
Connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used.
@@ -855,7 +823,7 @@
-
+
@@ -917,7 +885,8 @@
-
+
+
@@ -949,11 +918,16 @@
Name of the machine on which Event Log service is running.
-
+
Value to be used as the event Source.
+
+
+ Optional entrytype. When not set, or when not convertable to then determined by
+
+
@@ -986,30 +960,32 @@
-
+
+
-
+
-
+
+
-
-
+
+
@@ -1036,11 +1012,16 @@
File encoding.
-
+
Line ending mode.
+
+
+ Maximum number of archive files that should be kept.
+
+
Way file archives are numbered.
@@ -1058,17 +1039,17 @@
- Size in bytes above which log files will be automatically archived.
+ 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:
-
+
- Maximum number of archive files that should be kept.
+ Indicates whether to compress archive files into the zip archive format.
- Gets ors set a value indicating whether a managed file stream is forced, instead of used the native implementation.
+ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
@@ -1081,11 +1062,6 @@
Indicates whether to replace file contents on each write instead of appending log message at the end.
-
-
- Indicates whether to delete old log file on startup.
-
-
Name of the file to write to.
@@ -1103,7 +1079,12 @@
- Indicates whether to create directories if they don't exist.
+ Indicates whether to create directories if they do not exist.
+
+
+
+
+ Indicates whether to delete old log file on startup.
@@ -1121,6 +1102,11 @@
Indicates whether concurrent writes to the log file by multiple processes on different network hosts.
+
+
+ Maximum number of log filenames that should be stored as existing.
+
+
Indicates whether to keep log file open instead of opening and closing it on each logging event.
@@ -1141,9 +1127,9 @@
Delay in milliseconds to wait before attempting to write to the file again.
-
+
- Log file buffer size in bytes.
+ Indicates whether to automatically flush the file buffers after each log message.
@@ -1151,23 +1137,14 @@
Number of files to be kept open. Setting this to a higher value may improve performance in a situation where a single File target is writing to many files (such as splitting by level or by logger).
-
+
- Indicates whether to automatically flush the file buffers after each log message.
+ Log file buffer size in bytes.
-
-
-
-
-
-
-
-
-
@@ -1226,50 +1203,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name of the target.
-
-
-
-
- Layout used to format log messages.
-
-
-
-
- Indicates whether log text should be appended to the text of the control instead of overwriting it.
-
-
-
-
- Name of control to which NLog will log write log text.
-
-
-
-
- Name of the Form on which the control is located.
-
-
-
-
- Whether new log entry are added to the start or the end of the control
-
-
-
-
-
@@ -1356,6 +1289,7 @@
+
@@ -1376,6 +1310,11 @@
Name of the endpoint configuration in WCF configuration file.
+
+
+ Indicates whether to use a WCF service contract that is one way (fire and forget) or two way (request-reply)
+
+
Client ID.
@@ -1402,7 +1341,7 @@
- Layout that should be use to calcuate the value for the parameter.
+ Layout that should be use to calculate the value for the parameter.
@@ -1427,9 +1366,9 @@
-
-
+
+
@@ -1443,6 +1382,8 @@
+
+
@@ -1479,9 +1420,9 @@
Indicates whether to add new lines between log entries.
-
+
- BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
+ CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
@@ -1489,9 +1430,9 @@
Recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
-
+
- CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
+ BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
@@ -1559,6 +1500,16 @@
Indicates whether the default Settings from System.Net.MailSettings should be used.
+
+
+ Folder where applications save mail messages to be processed by the local SMTP server.
+
+
+
+
+ Specifies how outgoing email messages will be handled.
+
+
@@ -1569,6 +1520,13 @@
+
+
+
+
+
+
+
@@ -1589,32 +1547,6 @@
-
-
-
-
-
-
-
-
-
-
- Name of the target.
-
-
-
-
- Layout used to format log messages.
-
-
-
-
- Message box title.
-
-
-
-
-
@@ -1939,6 +1871,7 @@
+
@@ -1971,6 +1904,11 @@
Performance counter type.
+
+
+ The value by which to increment the counter.
+
+
Performance counter instance name.
@@ -2108,165 +2046,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name of the target.
-
-
-
-
- Layout used to format log messages.
-
-
-
-
- Indicates whether scroll bar will be moved automatically to show most recent log entries.
-
-
-
-
- Name of RichTextBox to which Nlog will write.
-
-
-
-
- Name of the Form on which the control is located. If there is no open form of a specified name than NLog will create a new one.
-
-
-
-
- Initial height of the form with rich text box.
-
-
-
-
- Maximum number of lines the rich text box will store (or 0 to disable this feature).
-
-
-
-
- Indicates whether the created form will be initially minimized.
-
-
-
-
- Indicates whether the created window will be a tool window.
-
-
-
-
- Initial width of the form with rich text box.
-
-
-
-
- Indicates whether to use default coloring rules.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Condition that must be met in order to set the specified font color.
-
-
-
-
- Background color.
-
-
-
-
- Font color.
-
-
-
-
- Font style of matched text.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Indicates whether to ignore case when comparing texts.
-
-
-
-
- Regular expression to be matched. You must specify either text or regex.
-
-
-
-
- Text to be matched. You must specify either text or regex.
-
-
-
-
- Indicates whether to match whole words only.
-
-
-
-
- Background color. Names are identical with KnownColor enum extended with Empty value which means that background color won't be changed.
-
-
-
-
- Font color. Names are identical with KnownColor enum extended with Empty value which means that font color won't be changed.
-
-
-
-
- Font style of matched text. Possible values are the same as in FontStyle enum in System.Drawing.
-
-
-
@@ -2320,6 +2099,7 @@
+
@@ -2332,6 +2112,11 @@
Name of the target.
+
+
+ Should we include the BOM (Byte-order-mark) for UTF? Influences the property. This will only work for UTF-8.
+
+
Encoding.
@@ -2339,12 +2124,12 @@
- Web service method name.
+ Web service method name. Only used with Soap.
- Web service namespace.
+ Web service namespace. Only used with Soap.
@@ -2459,6 +2244,43 @@
+
+
+
+
+
+
+
+
+
+ Option to suppress the extra spaces in the output json
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Determines wether or not this attribute will be Json encoded.
+
+
+
+
+ Layout that will be rendered as the attribute's value.
+
+
+
+
+ Name of the attribute.
+
+
+
diff --git a/Wox.Infrastructure/Wox.Infrastructure.csproj b/Wox.Infrastructure/Wox.Infrastructure.csproj
index f3be4781fe..a5ef083e79 100644
--- a/Wox.Infrastructure/Wox.Infrastructure.csproj
+++ b/Wox.Infrastructure/Wox.Infrastructure.csproj
@@ -40,8 +40,9 @@
False
..\packages\Newtonsoft.Json.6.0.8\lib\net35\Newtonsoft.Json.dll
-
- ..\packages\NLog.3.2.0.0\lib\net35\NLog.dll
+
+ ..\packages\NLog.4.2.0\lib\net35\NLog.dll
+ True
@@ -77,7 +78,7 @@
Always
-
+
Designer
@@ -90,5 +91,4 @@
-->
-
-
+
\ No newline at end of file
diff --git a/Wox.Infrastructure/packages.config b/Wox.Infrastructure/packages.config
index 59d02e4dd2..0c8252da99 100644
--- a/Wox.Infrastructure/packages.config
+++ b/Wox.Infrastructure/packages.config
@@ -1,5 +1,6 @@
-
+
+
\ No newline at end of file