Filter an array of logs by severity.
filter
WEIGHTS
const WEIGHTS = { DEBUG: 0, INFO: 1, WARN: 2 }; function filterLogs(logs, min) { // TODO }