tencent cloud

Feedback

Uploading Log via SDK

Last updated: 2024-01-20 17:14:28

    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 source code of CLS SDKs for different programming languages at GitHub:
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support