It's a little weird that we have integer level types up here but then use things like `level == "warning"` later.