You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable logging using a new class that implements `ILoggerSink` interface.
104
+
105
+
```csharp
106
+
classCustomLogHandler : ILoggerSink
107
+
{
108
+
publicvoidLogEvent(LogLevellevel, stringmessage)
109
+
{
110
+
Console.WriteLine($"Handler LogLevel : {level}, Data :{message}");
111
+
}
112
+
}
113
+
```
114
+
115
+
Update clientOptions for `LogLevel` and `LogHandler`.
116
+
117
+
```csharp
118
+
clientOpts.LogLevel=LogLevel.Debug;
119
+
clientOpts.LogHandler=newCustomLogHandler();
120
+
```
121
+
122
+
### Unity usage
123
+
124
+
- Download latest `ably.io.*.unitypackage` from [releases section](https://github.com/ably/ably-dotnet/releases) and include it in the unity project.
125
+
- For more information, check [Unity README](./unity/README.md)
126
+
103
127
## Releases
104
128
105
129
The [CHANGELOG.md](./CHANGELOG.md) contains details of the latest releases for this SDK. You can also view all Ably releases on [changelog.ably.com](https://changelog.ably.com).
0 commit comments