# Level enum

Namespace: [Grasshopper2.Diagnostics](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.diagnostics.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[Flags]
public enum Level
```

Enumerates the predefined types of diagnostic message.

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | Unspecified message. |
| Info | 1 | Informational message. |
| Event | 2 | Informational message. |
| Timer | 4 | A log entry in response to a completed timespan metric. |
| Object | 8 | A log entry in response to an object instantiation. |
| Warning | 16 | A warning message. |
| Error | 32 | An error message. |
| Exception | 64 | A log entry in response to a thrown exception. |
| Command | 128 | A log entry in response to a user invoked command, could be either a Rhino command or an Eto UI command. |
