Code Monkey home page Code Monkey logo

Comments (6)

shabicheng avatar shabicheng commented on August 9, 2024
  1. 如果是Android,建议使用live分支,其他情况使用lite分支,master分支一般用于服务器
  2. mk文件你可以自己改一下,include路径引用自己的编译的curl就行,不要用默认的X86

from aliyun-log-c-sdk.

zhaowq32 avatar zhaowq32 commented on August 9, 2024

有开关控制么?我的应用开始是需要将消息缓存的,待开关开启后才会真正的进行生产。另外这个线程安全么?

from aliyun-log-c-sdk.

shabicheng avatar shabicheng commented on August 9, 2024
  1. 自动缓存这个事情,producer已经帮你做好了,后台会根据缓存的时间间隔、数据量自动去做,数据都是批量压缩发送的。
  2. 是线程安全的

from aliyun-log-c-sdk.

zhaowq32 avatar zhaowq32 commented on August 9, 2024

我可能描述的不是很清楚,我的目的是想控制日志是否发送往服务器。但这个开关是在应用运行过程中才能获得。所以就需要在获得开关之前,将日志进行缓存,但不发送。当开关变为true时,才进行发送,否则就关闭日志发送功能。

from aliyun-log-c-sdk.

shabicheng avatar shabicheng commented on August 9, 2024

这个功能我们没有,你可以自己定制,在发送那边加一个标志位,自己控制一下就好了

from aliyun-log-c-sdk.

zhaowq32 avatar zhaowq32 commented on August 9, 2024

好的 麻烦了

from aliyun-log-c-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.