commit | 3dd3ec351476171efb5ce540557abf9ed456f2a6 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Tue Jun 02 15:39:21 2020 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Tue Jun 02 16:02:56 2020 -0700 |
tree | 227c52f56e22333eab7ae23e2373d146dfd8bf09 | |
parent | a8b8d108e58b74ffaff0881b96b8cc3acf7c1f53 [diff] |
logd: Drop the LogStatistics dependency on LogBufferElement Other log buffers may not use LogBufferElement, so we should decouple the two classes. This uses an intermediate LogStatisticsElement structs instead of passing a large number of parameters to each function. This additionally moves IsBinary() and the GetTag() functions out into LogUtils.h since they can be used generically by other users. Test: logging unit tests Change-Id: I71f53257342c067bcccd5aa00bae47f714cd7c66