mirror of
https://github.com/redis/go-redis.git
synced 2026-10-24 07:59:20 +03:00
* fix(log): guard global Logger and LogLevel with atomics * fix(log): pass calldepth to NewDefaultLogger for correct callsite The atomic forwarding frame shifted DefaultLogger attribution to log.go; use calldepth 3 for the plain logger and 4 for filterLogger, which also fixes the pre-existing logging.go attribution in the filter loggers. * refactor(log): name the calldepth constants