@acceleratxr/core_sdk / LogsService
Class: LogsService#
Hierarchy#
-
↳ LogsService
Index#
Constructors#
Properties#
Methods#
Constructors#
constructor#
+ new LogsService(apiClient: ApiClient, config: Configuration): LogsService
Overrides ServiceBase.constructor
Defined in src/services/LogsService.ts:10
Parameters:#
Name |
Type |
|---|---|
|
|
|
Returns: LogsService
Properties#
apiClient#
• Protected apiClient: ApiClient
Inherited from ServiceBase.apiClient
Defined in src/ServiceBase.ts:14
The API Client used when making requests to the API backend server.
config#
• Protected config: Configuration
Inherited from ServiceBase.config
Defined in src/ServiceBase.ts:19
The SDK configuration to use.
uuid#
▪ Static uuid: string = “d6b45a3b-e4a2-4bbd-8152-716922942e9b”
Defined in src/services/LogsService.ts:16
Methods#
connect#
▸ connect(serviceName: string): Promise<WebSocket>
Defined in src/services/LogsService.ts:22
Attempts to establish a connection to the logging socket for the service with the given name.
Parameters:#
Name |
Type |
Description |
|---|---|---|
|
string |
The name of the service to connect to the log socket. |
Returns: Promise<WebSocket>