tencent cloud

Cloud Log Service

Uploading Log via SDK

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-05-27 21:48:59

Overview

To help you use CLS more efficiently, we have created SDKs in multiple programming languages for log upload. You can choose an appropriate version based on your business needs.

Precautions

The SDK encapsulates the data access APIs of CLS uniformly to make log upload much easier.
The SDK implements the encapsulation of CLS logs in the Protobuf format, so you don't need to care about the specific details of this format when writing logs.
The SDK implements the compression methods defined in CLS APIs, so you don't need to care about the details of compression implementation. SDKs for certain programming languages support writing compressed logs by default.
The SDK provides unified features such as async sending, resource control, automatic retry, graceful shutdown, and log perception to make log reporting more comprehensive.

SDK List

The following table lists the code repositories for the CLS SDKs in different programming languages:


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백