File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
XEngine_Source/XEngine_APPService/XEngine_AuthorizeService Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,30 @@ bool Authorize_Service_Parament(int argc, char** argv)
5757 {
5858 bIsTest = true ;
5959 }
60+ else if (0 == _tcsxcmp (" -lt" , argv[i]))
61+ {
62+ st_AuthConfig.st_XLog .nLogType = _ttxoi (argv[++i]);
63+ }
64+ else if (0 == _tcsxcmp (" -ll" , argv[i]))
65+ {
66+ st_AuthConfig.st_XLog .nLogLeave = _ttxoi (argv[++i]);
67+ }
68+ else if (0 == _tcsxcmp (" -l" , argv[i]))
69+ {
70+ LPCXSTR lpszLogLevel = argv[++i];
71+ if (0 == _tcsxcmp (" debug" , lpszLogLevel))
72+ {
73+ st_AuthConfig.st_XLog .nLogLeave = XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_DEBUG;
74+ }
75+ else if (0 == _tcsxcmp (" detail" , lpszLogLevel))
76+ {
77+ st_AuthConfig.st_XLog .nLogLeave = XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_DETAIL;
78+ }
79+ else if (0 == _tcsxcmp (" info" , lpszLogLevel))
80+ {
81+ st_AuthConfig.st_XLog .nLogLeave = XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_INFO;
82+ }
83+ }
6084 }
6185
6286 return true ;
You can’t perform that action at this time.
0 commit comments