includes method

bool includes(
  1. LogLevel other
)

Whether this log level includes another log level

Implementation

bool includes(LogLevel other) {
  return index <= other.index;
}