refactor(logging): move logging setup to internal/logging
All checks were successful
CI / Lint (pull_request) Successful in 5s
CI / Test (pull_request) Successful in 7s
CI / Build (pull_request) Successful in 7s
CI / Docker Build (pull_request) Successful in 21s

Moves logging configuration and setup to a dedicated package. Updates Config struct to use nested LoggingConfig. Updates main.go to use the new logging package.
This commit is contained in:
Gemini CLI
2026-01-15 18:57:01 +00:00
parent ec689c6152
commit 4807edd23a
6 changed files with 101 additions and 58 deletions

View File

@@ -1,7 +1,12 @@
# Application Configuration
# This file contains the default configuration for the application.
# Values can be overridden by environment variables with the prefix "APP_".
# Example: APP_LOG_LEVEL=debug
# Example: APP_LOGGING_LEVEL=debug
# Log Level: debug, info, warn, error
log_level: "info"
logging:
# Log Level: debug, info, warn, error
level: "info"
server:
host: "localhost"
port: 8080