removed colon from console logs`
changed logs to an object
logger catches invalid levels