Latest 1.0.0
License MIT
Platforms ios 8.0, requires ARC
Frameworks Foundation, UIKit

Aliyun Sls Log SDK written in Objective-C


For the official Aliyun Sls SDK is written in Swift 2.3, it’s improper for objc app to be packaged with the large Swift Core Lib and Swift Foundation Lib, about 30 Mb.

This SDK is mostly interpreted from the official one, but the quality of code has been improved compared with the unreasonable style in the original one.



github "lujiajing1126/AliyunLogObjc"

CocoaPods is not supported now


#import <AliyunLogObjc/AliyunLogObjc.h> 
LogClient *client = [[LogClient alloc] initWithApp: @"endpoint" accessKeyID:@"" accessKeySecret:@"" projectName:@""];
LogGroup *logGroup = [[LogGroup alloc] initWithTopic: @"" andSource:@""];
Log *log1 = [[Log alloc] init];
[log1 PutContent: @"Value" withKey: @"Key"];
[logGroup PutLog:log1];
[client PostLog:logGroup logStoreName: @"" call:^(NSURLResponse* _Nullable response,NSError* _Nullable error) {
    if (error != nil) {


Latest podspec

    "name": "AliyunLogObjc",
    "version": "1.0.0",
    "summary": "A log SDK tool for iOS.",
    "description": "from",
    "homepage": "",
    "license": "MIT",
    "authors": "yivan",
    "platforms": {
        "ios": "8.0"
    "source": {
        "git": "",
        "tag": "1.0.0"
    "source_files": "AliyunLogObjc/*.{h,m}",
    "frameworks": [
    "requires_arc": true

Pin It on Pinterest

Share This