adding a LOGGER function to make logging real simple