commit | bd34732891a1186c2a40c5c6c762596f70f9a96d | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Wed Dec 11 14:26:37 2019 -0800 |
committer | Tom Cherry <tomcherry@google.com> | Thu Dec 12 16:19:08 2019 -0800 |
tree | fe62d27679a87ae6b2f80d4c05ae0452feae5aec | |
parent | ab9925616c242a43a16407e7762cfc030d7a3f60 [diff] |
liblog: have writers handle their own state Remove the transport available and open functions since the writers are able to manage their own state. Remove the initialization dance with write_to_log, since it is unneeded once this is removed as well. Remove the global lock around the close() functions as correct locking has been added to the writers in a previous change. Test: logging works, liblog-unit-tests Change-Id: If7fa11e773763d0b5fcb2e696ad1c88ff4a4cfdf