Hu Chunming
/
sip_server
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
e6b1cba6ca2f2573c408122e2ba59125369dc06b
Authored by
Hu Chunming
2024-04-30 17:53:43 +0800
1 parent
10821ac3
日志保存到日志文件中
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
sip/main.cpp
sip/main.cpp
View file @
e6b1cba
1
1
2
2
#include "WebSocketServer.h"
3
+#include "./Utils/logger.hpp"
3
4
4
5
5
6
int main(int argc, char *argv[]) {
6
7
8
+ set_default_logger(LogLevel(1), "sip server", "logs/main.log", 64 * 1024 * 1024, 30);
9
+
7
10
// if (argc <= 1)
8
11
// {
9
12
// printf("请输入待获取的摄像头的视频通道编码ID。");
...
...