framework: add logger option
add back GetLogger()
Merge pull request #62 from fengjingchao/master

framework: add logger option