mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-31 16:47:28 +08:00
添加警告log
This commit is contained in:
parent
b0a64d1e6f
commit
23560ac49b
@ -74,6 +74,9 @@ API_EXPORT void API_CALL onAppExit(){
|
|||||||
cleaner::Destory();
|
cleaner::Destory();
|
||||||
}
|
}
|
||||||
API_EXPORT void API_CALL setGlobalOptionString(const char *key,const char *val){
|
API_EXPORT void API_CALL setGlobalOptionString(const char *key,const char *val){
|
||||||
|
if(mINI::Instance().find(key) == mINI::Instance().end()){
|
||||||
|
WarnL << "key:" << key << " not existed!";
|
||||||
|
}
|
||||||
mINI::Instance()[key] = val;
|
mINI::Instance()[key] = val;
|
||||||
}
|
}
|
||||||
API_EXPORT int API_CALL initHttpServer(unsigned short port){
|
API_EXPORT int API_CALL initHttpServer(unsigned short port){
|
||||||
|
Loading…
Reference in New Issue
Block a user