log: Add a command to output a log record
authorSimon Glass <sjg@chromium.org>
Thu, 28 Dec 2017 20:14:20 +0000 (13:14 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 3 Feb 2018 17:09:27 +0000 (10:09 -0700)
commit3fd24fa9ed0c81a2cb254c4a27d5ec185726e0f3
treebdcc2efb0106ea61789dcff0c600254900f8ab2b
parentad0e503991f00650a979a788af7f6069b9d43383
log: Add a command to output a log record

Add a 'log rec' command which allows a log record to be manually output.
This is useful for scripts which want full control over what is logged. It
also permits easy testing of the log system.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/log.c