commit | 8f4591100d2a53b258fbc2750870383eb3e8c1ee | [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 | b0bb2102196016897cf59bd9ae5a08fbda9de6e7 | |
parent | ca4b25d3d4a4411f819e5c480aee96f2e486c2ba [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