# DeviceLogs

Namespace: **Wisej.Hybrid**

Assembly: **Wisej.Hybrid** (3.5.0.0)

Provides an event to log device events.

{% tabs %}
{% tab title="C#" %}

```csharp
public class DeviceLogs
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class DeviceLogs
```

{% endtab %}
{% endtabs %}

Access this class through the [Device](https://docs.wisej.com/hybrid/start/api/general/wisej.hybrid.device) singleton.

## Constructors

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)DeviceLogs()

Creates a new instance of [DeviceLogs](https://docs.wisej.com/hybrid/start/api/logs/wisej.hybrid.devicelogs).

## Events

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)Exception

[EventHandler\<DeviceException>](https://docs.microsoft.com/dotnet/api/system.eventhandler-1) Fires when the native device logs an exception.
