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.
12 lines
314 B
YAML
12 lines
314 B
YAML
# Application Configuration
|
|
# This file contains the default configuration for the application.
|
|
# Values can be overridden by environment variables with the prefix "APP_".
|
|
# Example: APP_LOGGING_LEVEL=debug
|
|
|
|
logging:
|
|
# Log Level: debug, info, warn, error
|
|
level: "info"
|
|
|
|
server:
|
|
host: "localhost"
|
|
port: 8080 |