doc (#29)
* update log * update log level * Enhance config.yaml by adding a comment for log-level options * update log * Refactor SIP service start method to accept configuration parameter for log level management * 增加文档
This commit is contained in:
@ -54,7 +54,7 @@ func main() {
|
||||
slog.Info("*****************************************************")
|
||||
slog.Info(" ☆☆☆ 欢迎使用 SRS-SIP 服务 ☆☆☆")
|
||||
slog.Info("*****************************************************")
|
||||
slog.Info("srs-sip service starting", "config", *configPath, "log_file", conf.Common.LogFile)
|
||||
slog.Info("srs-sip service starting", "config", *configPath, "log_file", conf.Common.LogFile, "log_level", conf.Common.LogLevel)
|
||||
|
||||
sipSvr, err := service.NewService(ctx, conf)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user