commit | 9abd4695b7875471af4d0486e0b9d639c309c234 | [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 | df9e13d717393089d31bb6819a12a9c9d459671b [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