tencent cloud

Feedback

Collection via SDK

Last updated: 2022-06-06 14:10:10

    Overview

    To help you use CLS more efficiently, we have developed an SDK (available in multiple languages) for you to upload logs to CLS.

    Notes

    1. The SDK encapsulates the data access APIs of CLS and is available in multiple languages, making it easier for you to upload logs.
    2. The SDK supports the ProtoBuffer format. You don’t need to pay attention to format details when uploading logs.
    3. The SDK supports the compression method defined in CLS APIs. You don’t need to pay attention to compression details. For some languages, the SDK supports uploading compressed logs (the default mode).
    4. In addition to log upload, the SDK offers features including async sending, resource control, auto retry, graceful shutdown, and exception log reporting.

    SDK Download

    Below is a list of the languages the SDK is available in and their code.

    Language GitHub Source Code
    Java tencentcloud-cls-sdk-java
    Go tencentcloud-cls-sdk-go
    Node.js tencentcloud-cls-sdk-js
    Android tencentcloud-cls-sdk-android
    C++ tencentcloud-cls-sdk-c++
    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