Null check for parent logger
Merge pull request #6 from sboora/master

Null check for parent logger