# Functions
NewLogger creates a Logrus logger that writes all logs to logFile and optionally writes error+ logs to a second file named filename_error.ext.
# Structs
ErrorHook is a custom Logrus hook that writes only error-level (and above) logs to a separate writer (e.g., a second file).
JSONFormatter defines your custom JSON log format.