Use bind instead of apply in logger
Restore apply as a fallback
Merge pull request #9519 from christophercurrie/logger-bind

Use bind instead of apply in logger