Add some functions to make replacing default log package easier.
Merge pull request #1 from tpjg/compat

Add some functions to make replacing default log package easier.