Add a function to change log channel for convenience.
Merge pull request #4224 from shenweip/patch-6

Add a function to change log channel level for convenience.