调整文件位置
This commit is contained in:
4
Makefile
4
Makefile
@@ -50,12 +50,12 @@ proto:
|
||||
# 运行代码检查
|
||||
.PHONY: lint
|
||||
lint:
|
||||
golangci-lint run ./...
|
||||
golangci-lint run ./... -c ./config/.golangci.yml
|
||||
|
||||
# 测试模式(改动文件自动重编译重启)
|
||||
.PHONY: dev
|
||||
dev:
|
||||
air
|
||||
air -c ./config/.air.toml
|
||||
|
||||
# 启用谷歌浏览器MCP服务器
|
||||
.PHONY: mcp-chrome
|
||||
|
||||
@@ -12,7 +12,7 @@ server:
|
||||
|
||||
# 日志配置
|
||||
log:
|
||||
level: "debug" # 日志级别: "debug", "info", "warn", "error", "dpanic", "panic", "fatal"
|
||||
level: "info" # 日志级别: "debug", "info", "warn", "error", "dpanic", "panic", "fatal"
|
||||
format: "console" # 日志格式: "console" 或 "json"
|
||||
enable_file: true # 是否启用文件日志
|
||||
file_path: "./app_logs/app.log" # 日志文件路径
|
||||
Reference in New Issue
Block a user