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
Copy file name to clipboardExpand all lines: src/pages/docs/chat/connect.mdx
+69Lines changed: 69 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,3 +209,72 @@ subscription.unsubscribe()
209
209
<Iflang="javascript,swift,kotlin">
210
210
The discontinuity handler is accessible via the <Iflang="javascript">[Room](https://sdk.ably.com/builds/ably/ably-chat-js/main/typedoc/interfaces/chat-js.Room.html#onDiscontinuity)</If><Iflang="swift">[Room](https://sdk.ably.com/builds/ably/ably-chat-swift/main/AblyChat/documentation/ablychat/room)</If><Iflang="kotlin">[Room](https://sdk.ably.com/builds/ably/ably-chat-kotlin/main/dokka/chat-android/com.ably.chat/-room/index.html)</If> object.
211
211
</If>
212
+
213
+
## Logging <aid="logging"/>
214
+
215
+
Set the `logHandler` and `logLevel` properties when [instantiating a client](#instantiate) to configure your log handler:
The `logHandler` property is your own function that will be called for each line of log output generated by the Chat SDK.
265
+
</If>
266
+
267
+
<Iflang="swift,kotlin">
268
+
The `logHandler` property is your custom `LogHandler` implementation that will be called for each line of log output generated by the Chat SDK.
269
+
</If>
270
+
271
+
The `logLevel` sets the verbosity of logs that will be output by the SDK. The following log levels are available to set:
272
+
273
+
| Level | Description |
274
+
| ----- | ----------- |
275
+
| trace | Something routine and expected has occurred. This level will provide logs for the vast majority of operations and function calls. |
276
+
| debug | Development information, messages that are useful when trying to debug library behavior, but superfluous to normal operation. |
277
+
| info | Informational messages. Operationally significant to the library but not out of the ordinary. |
278
+
| warn | Anything that is not immediately an error, but could cause unexpected behavior in the future. For example, passing an invalid value to an option. Indicates that some action should be taken to prevent future errors. |
279
+
| error | A given operation has failed and cannot be automatically recovered. The error may threaten the continuity of operation. |
Copy file name to clipboardExpand all lines: src/pages/docs/chat/getting-started/index.mdx
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,9 @@ redirect_from:
8
8
9
9
Get started with Ably Chat by choosing your language or framework.
10
10
11
-
You'll learn the basics, such as how to connect to Ably, send and receive messages, and manage the status of users with presence. You'll also be introduced to the Ably CLI and your Ably dashboard to interact with, and manage your apps.
11
+
You'll learn the essentials of building realtime chat applications, including how to create and manage chat rooms, send and edit messages, implement typing indicators, track user presence, retrieve message history, and send ephemeral reactions. You'll also discover how to use the Ably CLI for testing chat functionality and manage your chat applications through your Ably dashboard.
12
+
13
+
## Getting started guides
12
14
13
15
These are your first steps towards building a Chat application that can effortlessly scale to serve millions of users.
14
16
@@ -52,3 +54,18 @@ These are your first steps towards building a Chat application that can effortle
52
54
},
53
55
]}
54
56
</Tiles>
57
+
58
+
## React components
59
+
60
+
Get started with pre-built React components that provide complete chat functionality out-of-the-box, allowing you to quickly integrate chat features into your applications.
61
+
62
+
<Tiles>
63
+
{[
64
+
{
65
+
title: 'React UI components',
66
+
description: 'Start building Chat applications with Ably\'s React UI Components',
0 commit comments