code: public function levels()
      {
          if (!$this->levels) {
              $class = new ReflectionClass(new LogLevel());
              $this->levels = $class->getConstants();
          }
  
          return $this->levels;
      }
docs: Get the log levels.
  
  @return string[]