aliyun / aliyun-log-android-sdk

MIT License
180 stars 40 forks source link

Add CachedLogGroup #1

Closed lujiajing1126 closed 7 years ago

suntingtao007 commented 7 years ago

thanks to your pr, here is some tiny comments.

  1. provide a getSize() interface for the CachedLogGroup , let the user can control the buffered logs count
  2. public LogGroup takeOneLogGroup() -> public LogGroup takeOneLogGroup(int threshold); let the user control how many logs to merge into one logGroup, and if the threshold is set to 0, then take all buffered logs.
lujiajing1126 commented 7 years ago

@suntingtao007 already modified