
## CompareTo {#compareto}

Compares the level to the other LogLevel object.

**Returns:** a value less than zero when this logger's Ordinal is less than the other logger's ordinal, 0 when they are equal and greater than zero when this ordinal is greater than the other ordinal.

```cpp
CompareTo(System::SharedPtr < System::Object > obj)
```

| Parameter | Description |
| --- | --- |
| obj | the object object |

