| commit | 02653ca867156d01e0784474cbb539ddfc149472 | [log] [tgz] |
|---|---|---|
| author | Joseph Reynolds <jrey@us.ibm.com> | Thu May 10 15:55:09 2018 -0500 |
| committer | Joseph Reynolds <jrey@us.ibm.com> | Wed May 30 09:15:54 2018 -0500 |
| tree | 1866f7c875b1a7c6dbd56435deed205afe93c09a | |
| parent | 269501c56f6e082a9d5ad8afae291037f5007844 [diff] |
Use s.c_str() in log messages
Partly resolves openbmc/openbmc 2905
Bonus! The new static_assert found a related bug in log.cpp:
log("msg", entry("fmt", data, entry("fmt", data)))
which should have been:
log("msg", entry("fmt", data), entry("fmt", data))
Tested: static_assert only
Change-Id: Ie1c550a27f454ef92ee096d812adcc400a1a25cf
Signed-off-by: Joseph Reynolds <jrey@us.ibm.com>