Comments (6)
- 如果是Android,建议使用live分支,其他情况使用lite分支,master分支一般用于服务器
- mk文件你可以自己改一下,include路径引用自己的编译的curl就行,不要用默认的X86
from aliyun-log-c-sdk.
有开关控制么?我的应用开始是需要将消息缓存的,待开关开启后才会真正的进行生产。另外这个线程安全么?
from aliyun-log-c-sdk.
- 自动缓存这个事情,producer已经帮你做好了,后台会根据缓存的时间间隔、数据量自动去做,数据都是批量压缩发送的。
- 是线程安全的
from aliyun-log-c-sdk.
我可能描述的不是很清楚,我的目的是想控制日志是否发送往服务器。但这个开关是在应用运行过程中才能获得。所以就需要在获得开关之前,将日志进行缓存,但不发送。当开关变为true时,才进行发送,否则就关闭日志发送功能。
from aliyun-log-c-sdk.
这个功能我们没有,你可以自己定制,在发送那边加一个标志位,自己控制一下就好了
from aliyun-log-c-sdk.
好的 麻烦了
from aliyun-log-c-sdk.
Related Issues (20)
- debug模式下,启动的时候有一定概率会crash HOT 1
- 频繁的调用log_group_create及log_group_destroy HOT 5
- 链接动态库时,两个动态库中符号重名的问题 HOT 1
- 日志配置文件, 要怎样放在客户端, 有什么最佳实践么?
- log_producer_client_add_raw_log_buffer之后log_producer_client_add_log日志发送会返回LOG_PRODUCER_DROP_ERROR
- 编译错误: error: macro expands to multiple statements [-Werror=multistatement-macros] HOT 1
- More details needed if curl, apr and apr-util are installed to a user-defined locations HOT 2
- lite分支上传日志报错 HOT 2
- mac系统下无法正常编译 HOT 1
- 是否有函数或变量用来检测数据是否发送完成? HOT 1
- 与项目中的http-parser的枚举定义冲突了,无法通过编译。是否有办法解决? HOT 1
- 请问在vs2010使用哪个分支啊,老项目没法升级VS
- 在ubuntu上的x86交叉编译环境上,编译不通过
- 使用live分支,vs2017编译测试代码,上传中文内容,后台显示乱码 HOT 2
- live分支使用ndk-r16b版本,可以单独生成.a和.so库;集成工程已有代码使用libaliyun.a生成工程.so库时报如下错误。 HOT 2
- make install error HOT 1
- undefined symbol `aos_print_log_android` in branch 'persistent' HOT 1
- 分支太多了,release发布不及时
- 命名冲突
- 求助:如何在客户端rust代码中使用sls日志sdk?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aliyun-log-c-sdk.