Currently, when using logger middleware with logger.New(), logs are always enabled. Add an option to conditionally disable these logs in logger.Config{} configuration depending on the environment (e.g., disable logs in production, enable them in development).
Currently, when using logger middleware with
logger.New(), logs are always enabled. Add an option to conditionally disable these logs inlogger.Config{}configuration depending on the environment (e.g., disable logs in production, enable them in development).