# Grasshopper2.Diagnostics namespace

Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

## Enums

- [Density](https://developer.rhino3d.com/api/gh2/type/grasshopper2.diagnostics.density.md): Describes the density of the log contents.
- [Level](https://developer.rhino3d.com/api/gh2/type/grasshopper2.diagnostics.level.md): Enumerates the predefined types of diagnostic message.

## Classes

- [Entry](https://developer.rhino3d.com/api/gh2/type/grasshopper2.diagnostics.entry.md): Represents a single logged diagnostic.
- [LoggedException](https://developer.rhino3d.com/api/gh2/type/grasshopper2.diagnostics.loggedexception.md): An exception which automatically logs itself with the central Grasshopper logging object.
- [Logger](https://developer.rhino3d.com/api/gh2/type/grasshopper2.diagnostics.logger.md): General utility class for various runtime diagnostics.
- [TimeSpanMetric](https://developer.rhino3d.com/api/gh2/type/grasshopper2.diagnostics.timespanmetric.md): Provides access to a disposable duration metric.
