mirror of
https://github.com/apache/nuttx.git
synced 2025-05-09 06:42:10 +08:00

Add an option to completely disable syslog() and replace it with an empty functions. This option can be useful for small systems when we don't have any logging support, but compiler is not able to remove useless code. This way the final image also won't contain the strings that are present in syslog() calls when compiler optimization is enabled (for example from /boards where syslog is often used instead of debug macros). Signed-off-by: raiden00pl <raiden00@railab.me>