adding ability to check if a logger exists

This allows for not accidentally adding a non-configured logger