Skip to content

Commit 6eb7a88

Browse files
committed
added:set log level for parameter
1 parent 7873fc4 commit 6eb7a88

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

XEngine_Source/XEngine_ServiceApp/XEngine_Configure.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ bool XEngine_Configure_Parament(int argc, char** argv, XENGINE_SERVICECONFIG* pS
3737
{
3838
pSt_Configure->bDeamon = _ttxoi(argv[++i]);
3939
}
40+
else if (0 == _tcsxcmp("-l", argv[i]))
41+
{
42+
pSt_Configure->st_XLog.nLogLeave = _ttxoi(argv[++i]);
43+
}
4044
else if (0 == _tcsxcmp("-v", argv[i]))
4145
{
4246
string m_StrVersion = st_ServiceConfig.st_XVer.pStl_ListVer->front();

0 commit comments

Comments
 (0)