commit | fb9c56c7737cce7809745399c1c0b5119e825f2b | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Tue Dec 10 13:32:31 2019 -0800 |
committer | Tom Cherry <tomcherry@google.com> | Wed Dec 11 07:20:37 2019 -0800 |
tree | 5322b2ec737ecbca4ee700d14751940538fc7d5a | |
parent | f6b917c381411af4292eb5fd2b40d7d0c62584d2 [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