u-boot/doc/develop
Simon Glass e1cbd916c8 log: Convert log values to printf() if not enabled
At present if logging not enabled, log_info() becomes a nop. But we want
log output at the 'info' level to be akin to printf(). Update the macro to
pass the output straight to printf() in this case.

This mimics the behaviour for the log_...() macros like log_debug() and
log_info(), so we can drop the special case for these.

Add new tests to cover this case.
Signed-off-by: Simon Glass <sjg@chromium.org>
2021-06-08 11:39:09 -04:00
..
driver-model doc: develop: Convert README.virtio to reST 2021-05-10 13:56:12 +08:00
package binman: Update various pieces of the documentation 2021-03-26 17:03:10 +13:00
uefi doc: Add build instructions for OP-TEE backed EFI variables 2021-04-10 12:00:24 +02:00
coccinelle.rst doc: Coccinelle: move to HTML doc 2020-07-17 08:45:29 -04:00
commands.rst doc: move README.commands to HTML doc 2020-12-15 09:32:15 +01:00
crash_dumps.rst doc: correct description of crash dumps 2020-07-17 10:47:19 -04:00
global_data.rst doc: global data pointer on x86, x86_64 2020-12-15 09:31:26 +01:00
index.rst binman: doc: Add documentation to htmldocs 2021-03-26 17:03:10 +13:00
logging.rst log: Convert log values to printf() if not enabled 2021-06-08 11:39:09 -04:00
menus.rst doc: move README.menu to HTML documentation 2021-01-23 09:53:46 -05:00
py_testing.rst doc: Explain briefly how to write new tests 2021-03-12 09:57:31 -05:00
testing.rst doc: Explain briefly how to write new tests 2021-03-12 09:57:31 -05:00
tests_sandbox.rst doc: Explain briefly how to write new tests 2021-03-12 09:57:31 -05:00
tests_writing.rst doc: Explain briefly how to write new tests 2021-03-12 09:57:31 -05:00
trace.rst doc: move README.trace to HTML documentation 2020-12-15 09:37:24 +01:00
version.rst Makefile: Provide numeric versions 2021-02-06 19:18:41 +08:00