commit | 6d16c9cf6b517083b6887665c7f90b035ff4f1e5 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Tue May 19 17:48:42 2020 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Thu May 21 11:14:18 2020 -0700 |
tree | f96cec88c8c80cc5d5166dbfd69c2fcea80b2685 | |
parent | 16f01a7d5116311fb7abc9fd7f869cb643cd1306 [diff] |
logd: refactor chatty deduplication logging This code and comment is hard to follow, despite the operation being simple, so refactor the code to be easier to follow. Also, use std::unique_ptr instead of raw pointers as appropriate. Test: logging unit tests Change-Id: Id1f29f4deeca730d1e3b6856e1581d0b840f883e