commit | 4e9a64d4cc00431cd5993dc0fd7ea5a0acb8839d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Oct 01 11:55:11 2018 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Oct 09 04:40:26 2018 -0600 |
tree | fc7e667538ab00cfa6d21ef4ffc0817452b8281d | |
parent | dc4d8ebd3ba054390745a7162f60b623ed821bcb [diff] |
sandbox: Add a flag to set the default log level It is useful to be able to set the default log level from the command line when running sandbox. Add a new -L command-line flag for this. The log level is set using the enum log_level_t in log.h. At present a number must be specified, e.g. -L7 for debug. Signed-off-by: Simon Glass <sjg@chromium.org>