Skip to content

Commit 1939e18

Browse files
committed
add randomx
1 parent 8655fff commit 1939e18

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+178
-135
lines changed

Bin/Base.dll

0 Bytes
Binary file not shown.

Bin/Base.pdb

0 Bytes
Binary file not shown.

Bin/Core.dll

2.5 KB
Binary file not shown.

Bin/Core.pdb

544 Bytes
Binary file not shown.

Bin/Google.Protobuf.dll

0 Bytes
Binary file not shown.

Bin/Google.Protobuf.pdb

0 Bytes
Binary file not shown.

Bin/KcpLib.dll

0 Bytes
Binary file not shown.

Bin/KcpLib.pdb

0 Bytes
Binary file not shown.

Bin/MongoDB.Bson.pdb

4 Bytes
Binary file not shown.

Bin/NLog.config

Lines changed: 83 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,94 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22

33
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4-
<variable name="appType" value="" />
5-
<variable name="appId" value="" />
6-
<targets>
7-
<target name="all" xsi:type="File"
8-
fileName="${basedir}/../Logs/Log.txt"
9-
deleteOldFileOnStartup="false"
10-
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
11-
</targets>
4+
<variable name="appType" value="" />
5+
<variable name="appId" value="" />
6+
<targets>
7+
<target name="all" xsi:type="File"
8+
fileName="${basedir}/../Logs/Log.txt"
9+
deleteOldFileOnStartup="false"
10+
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
11+
</targets>
1212

13-
<targets>
14-
<target name="trace" xsi:type="File"
15-
openFileCacheTimeout="3600"
16-
ConcurrentWrites="false"
17-
fileName="${basedir}/../Logs/Log-${var:appType}-${var:appId}/Trace/${shortdate}.log"
18-
deleteOldFileOnStartup="false"
19-
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message} ${newline} ${stacktrace:format=Raw:topFrames=10:skipFrames=0}" />
20-
<target name="traceConsole" type="ColoredConsole"
21-
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message} ${newline} ${stacktrace:format=Raw:topFrames=10:skipFrames=0}" />
22-
</targets>
13+
<targets>
14+
<target name="trace" xsi:type="File"
15+
openFileCacheTimeout="3600"
16+
ConcurrentWrites="false"
17+
fileName="${basedir}/../Logs/Log-${var:appType}-${var:appId}/Trace/${shortdate}.log"
18+
deleteOldFileOnStartup="false"
19+
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message} ${newline} ${stacktrace:format=Raw:topFrames=10:skipFrames=0}" />
20+
<target name="traceConsole" type="ColoredConsole"
21+
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message} ${newline} ${stacktrace:format=Raw:topFrames=10:skipFrames=0}" />
22+
</targets>
2323

24-
<targets>
25-
<target name="debug" xsi:type="File"
26-
openFileCacheTimeout="3600"
27-
ConcurrentWrites="false"
28-
fileName="${basedir}/../Logs/Log-${var:appType}-${var:appId}/Debug/${shortdate}.log"
29-
deleteOldFileOnStartup="false"
30-
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
31-
<target name="debugConsole" type="ColoredConsole"
32-
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
33-
</targets>
24+
<targets>
25+
<target name="debug" xsi:type="File"
26+
openFileCacheTimeout="3600"
27+
ConcurrentWrites="false"
28+
fileName="${basedir}/../Logs/Log-${var:appType}-${var:appId}/Debug/${shortdate}.log"
29+
deleteOldFileOnStartup="false"
30+
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
31+
<target name="debugConsole" type="ColoredConsole"
32+
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
33+
</targets>
3434

35-
<targets>
36-
<target name="info" xsi:type="File"
37-
openFileCacheTimeout="3600"
38-
ConcurrentWrites="false"
39-
fileName="${basedir}/../Logs/Log-${var:appType}-${var:appId}/Info/${shortdate}.log"
40-
deleteOldFileOnStartup="false"
41-
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
42-
<target name="infoConsole" type="ColoredConsole"
43-
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
44-
</targets>
35+
<targets>
36+
<target name="info" xsi:type="File"
37+
openFileCacheTimeout="3600"
38+
ConcurrentWrites="false"
39+
fileName="${basedir}/../Logs/Log-${var:appType}-${var:appId}/Info/${shortdate}.log"
40+
deleteOldFileOnStartup="false"
41+
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
42+
<target name="infoConsole" type="ColoredConsole"
43+
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
44+
</targets>
4545

46-
<targets>
47-
<target name="error" xsi:type="File"
48-
openFileCacheTimeout="3600"
49-
ConcurrentWrites="false"
50-
fileName="${basedir}/../Logs/Log-${var:appType}-${var:appId}/Error/${shortdate}.log"
51-
deleteOldFileOnStartup="false"
52-
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message} ${newline} ${stacktrace:format=Raw:topFrames=10:skipFrames=0}" />
53-
<target name="errorConsole" type="ColoredConsole"
54-
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message} ${newline} ${stacktrace:format=Raw:topFrames=10:skipFrames=0}" />
55-
</targets>
46+
<targets>
47+
<target name="error" xsi:type="File"
48+
openFileCacheTimeout="3600"
49+
ConcurrentWrites="false"
50+
fileName="${basedir}/../Logs/Log-${var:appType}-${var:appId}/Error/${shortdate}.log"
51+
deleteOldFileOnStartup="false"
52+
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message} ${newline} ${stacktrace:format=Raw:topFrames=10:skipFrames=0}" />
53+
<target name="errorConsole" type="ColoredConsole"
54+
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message} ${newline} ${stacktrace:format=Raw:topFrames=10:skipFrames=0}" />
55+
</targets>
5656

57-
<targets>
58-
<target name="warn" xsi:type="File"
59-
openFileCacheTimeout="3600"
60-
ConcurrentWrites="false"
61-
fileName="${basedir}/../Logs/Log-${var:appType}-${var:appId}/Warning/${shortdate}.log"
62-
deleteOldFileOnStartup="false"
63-
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message}" />
64-
<target name="warnConsole" type="ColoredConsole"
65-
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message}" />
66-
</targets>
57+
<targets>
58+
<target name="warn" xsi:type="File"
59+
openFileCacheTimeout="3600"
60+
ConcurrentWrites="false"
61+
fileName="${basedir}/../Logs/Log-${var:appType}-${var:appId}/Warning/${shortdate}.log"
62+
deleteOldFileOnStartup="false"
63+
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message}" />
64+
<target name="warnConsole" type="ColoredConsole"
65+
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message}" />
66+
</targets>
6767

68-
<targets>
69-
<target name="fatal" xsi:type="File"
70-
openFileCacheTimeout="3600"
71-
ConcurrentWrites="false"
72-
fileName="${basedir}/../Logs/Log-${var:appType}-${var:appId}/Fatal/${shortdate}.log"
73-
deleteOldFileOnStartup="false"
74-
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message} ${newline} ${stacktrace:format=Raw:topFrames=10:skipFrames=0}" />
75-
<target name="fatalConsole" type="ColoredConsole"
76-
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message} ${newline} ${stacktrace:format=Raw:topFrames=10:skipFrames=0}" />
77-
</targets>
68+
<targets>
69+
<target name="fatal" xsi:type="File"
70+
openFileCacheTimeout="3600"
71+
ConcurrentWrites="false"
72+
fileName="${basedir}/../Logs/Log-${var:appType}-${var:appId}/Fatal/${shortdate}.log"
73+
deleteOldFileOnStartup="false"
74+
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message} ${newline} ${stacktrace:format=Raw:topFrames=10:skipFrames=0}" />
75+
<target name="fatalConsole" type="ColoredConsole"
76+
layout="${date:MM-dd HH\:mm\:ss FFF} ${var:appTypeFormat} ${var:appIdFormat} ${message} ${newline} ${stacktrace:format=Raw:topFrames=10:skipFrames=0}" />
77+
</targets>
7878

79-
<rules>
80-
<logger name="*" minlevel="Trace" writeTo="all" />
81-
<logger name="*" minlevel="Trace" maxlevel="Trace" writeTo="trace" />
82-
<logger name="*" minlevel="Trace" maxlevel="Trace" writeTo="traceConsole" />
83-
<logger name="*" minlevel="Debug" maxlevel="Debug" writeTo="debug" />
84-
<logger name="*" minlevel="Debug" maxlevel="Debug" writeTo="debugConsole" />
85-
<logger name="*" minlevel="Info" maxlevel="Info" writeTo="info" />
86-
<logger name="*" minlevel="Info" maxlevel="Info" writeTo="infoConsole" />
87-
<logger name="*" minlevel="Warn" maxlevel="Warn" writeTo="warn" />
88-
<logger name="*" minlevel="Warn" maxlevel="Warn" writeTo="warnConsole" />
89-
<logger name="*" minlevel="Error" maxlevel="Error" writeTo="error" />
90-
<logger name="*" minlevel="Error" maxlevel="Error" writeTo="errorConsole" />
91-
<logger name="*" minlevel="Fatal" maxlevel="Fatal" writeTo="fatal" />
92-
<logger name="*" minlevel="Fatal" maxlevel="Fatal" writeTo="fatalConsole" />
93-
</rules>
79+
<rules>
80+
<logger name="*" minlevel="Trace" writeTo="all" />
81+
<logger name="*" minlevel="Trace" maxlevel="Trace" writeTo="trace" />
82+
<logger name="*" minlevel="Trace" maxlevel="Trace" writeTo="traceConsole" />
83+
<logger name="*" minlevel="Debug" maxlevel="Debug" writeTo="debug" />
84+
<logger name="*" minlevel="Debug" maxlevel="Debug" writeTo="debugConsole" />
85+
<logger name="*" minlevel="Info" maxlevel="Info" writeTo="info" />
86+
<logger name="*" minlevel="Info" maxlevel="Info" writeTo="infoConsole" />
87+
<logger name="*" minlevel="Warn" maxlevel="Warn" writeTo="warn" />
88+
<logger name="*" minlevel="Warn" maxlevel="Warn" writeTo="warnConsole" />
89+
<logger name="*" minlevel="Error" maxlevel="Error" writeTo="error" />
90+
<logger name="*" minlevel="Error" maxlevel="Error" writeTo="errorConsole" />
91+
<logger name="*" minlevel="Fatal" maxlevel="Fatal" writeTo="fatal" />
92+
<logger name="*" minlevel="Fatal" maxlevel="Fatal" writeTo="fatalConsole" />
93+
</rules>
9494
</nlog>

0 commit comments

Comments
 (0)