commit | d8622813f2ace547a0fbf7aa706bc5a967d6ae9a | [log] [tgz] |
---|---|---|
author | Tom Cherry | Tue Dec 10 13:32:31 2019 -0800 |
committer | Tom Cherry | Wed Dec 11 07:20:37 2019 -0800 |
tree | 088f175ad138281cb955ca6f283a08bcb5106cfb | |
parent | edc7f9bc10158e0e590857f522db10caaaf5077a [diff] |
liblog: simplify fake_log_device This still fakes the long removed /dev/log devices, whereas it only needs to print to stderr, so simplify that code. Use std::mutex now that it is C++ to easy portability concerns. Use the proper liblog headers for formatting information instead of hardcoding a copy. Test: liblog-host unit test Change-Id: I310a6e7ad939960300eafa729cbfc535c5ced445