adding 'severity' parameter to console log?