adding ability to check if a logger exists

This allows for not accidentally adding a non-configured logger
Merge pull request #187 from jci-fox/addHasLogger

adding ability to check if a logger exists