level

The severity level of the diagnostic message. Possible values are:

  • 'info': Informational messages.

  • 'warn': Warnings.

  • 'error': Errors.