Revert "Moved ILogger methods to extension methods."

This reverts commit 5140fb74462f98455eecef0c375208224fb690be.