]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
log: Add optional msg parameter to create_entry and test with it
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 5 Oct 2017 22:27:37 +0000 (18:27 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 6 Oct 2017 21:29:06 +0000 (17:29 -0400)
commitf00547bb7d65d2da142dd3fa3205faf6a7e55984
treeb2f4ec1de1915a05f1fd357afcd7a8ae0579f7bd
parent7b0168c5ddb054eb375266f473f8b757d7ca5e9e
log: Add optional msg parameter to create_entry and test with it

The tests should, really, get their time from the same source as the
log, and also probably use the same interface to creating entries that
other people do. So add an optional message argument and have the
tests use that rather than using the new operator directly.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/log/Log.cc
src/log/Log.h
src/log/test.cc