Xcode/iOS/iOS/Example/Producer/ProducerExampleController.m [96:127]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    [_config SetTopic:@"test_topic"];
    [_config AddTag:@"test" value:@"test_tag"];
    [_config SetPacketLogBytes:1024*1024];
    [_config SetPacketLogCount:1024];
    [_config SetPacketTimeout:3000];
    [_config SetMaxBufferLimit:64*1024*1024];

    NSArray  *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *Path = [[paths lastObject] stringByAppendingString:@"/log.dat"];

    [_config SetPersistent:1];
    [_config SetPersistentFilePath:Path];
    [_config SetPersistentForceFlush:1];
    [_config SetPersistentMaxFileCount:10];
    [_config SetPersistentMaxFileSize:1024*1024];
    [_config SetPersistentMaxLogCount:65536];

    [_config SetConnectTimeoutSec:10];
    [_config SetSendTimeoutSec:10];
    [_config SetDestroyFlusherWaitSec:1];
    [_config SetDestroySenderWaitSec:1];
    [_config SetCompressType:1];
    [_config SetNtpTimeOffset:1];
    [_config SetMaxLogDelayTime:7*24*3600];
    [_config SetDropDelayLog:1];
    [_config SetDropUnauthorizedLog:0];

    _client = [[LogProducerClient alloc] initWithLogProducerConfig:_config callback:_on_log_send_done];
}


- (Log *) oneLog {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



Xcode/iOS/iOS/Example/Producer/ProducerExampleDynamicController.m [117:148]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    [_config SetTopic:@"test_topic"];
    [_config AddTag:@"test" value:@"test_tag"];
    [_config SetPacketLogBytes:1024*1024];
    [_config SetPacketLogCount:1024];
    [_config SetPacketTimeout:3000];
    [_config SetMaxBufferLimit:64*1024*1024];

    NSArray  *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *Path = [[paths lastObject] stringByAppendingString:@"/log.dat"];

    [_config SetPersistent:1];
    [_config SetPersistentFilePath:Path];
    [_config SetPersistentForceFlush:1];
    [_config SetPersistentMaxFileCount:10];
    [_config SetPersistentMaxFileSize:1024*1024];
    [_config SetPersistentMaxLogCount:65536];

    [_config SetConnectTimeoutSec:10];
    [_config SetSendTimeoutSec:10];
    [_config SetDestroyFlusherWaitSec:1];
    [_config SetDestroySenderWaitSec:1];
    [_config SetCompressType:1];
    [_config SetNtpTimeOffset:1];
    [_config SetMaxLogDelayTime:7*24*3600];
    [_config SetDropDelayLog:1];
    [_config SetDropUnauthorizedLog:0];

    _client = [[LogProducerClient alloc] initWithLogProducerConfig:_config callback:_on_log_send_done];
}


- (Log *) oneLog {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



