add global handler
Merge branch 'master' of https://github.com/lovedna/logging