add support for logger
Merge pull request #18 from structtv/logger

add support for logger