Add syslog.h; rename lib_rawprintf() to syslog()

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2013-01-28 21:55:16 +00:00
parent dc14773361
commit 1bd587bb37
+5 -5
View File
@@ -4324,17 +4324,17 @@ build
<li> <li>
<code>CONFIG_DEBUG</code>: enables built-in debug options. <code>CONFIG_DEBUG</code>: enables built-in debug options.
This includes more extensive parameter checking, debug assertions, and other debug logic. This includes more extensive parameter checking, debug assertions, and other debug logic.
This option is also necessary (but not sufficient) to enable debug console output; This option is also necessary (but not sufficient) to enable debug syslog output;
Debug console output must also be enabled on a subsystem-by-subsystem basis as described below. Debug syslog output must also be enabled on a subsystem-by-subsystem basis as described below.
</li> </li>
<li> <li>
<code>CONFIG_DEBUG_VERBOSE</code>: If debug console output is enabled, the option enables more verbose debug output. <code>CONFIG_DEBUG_VERBOSE</code>: If debug syslog output is enabled, the option enables more verbose debug output.
Ignored if <code>CONFIG_DEBUG</code> is not defined. Ignored if <code>CONFIG_DEBUG</code> is not defined.
If only <code>CONFIG_DEBUG</code> then the only output will be errors, warnings, and critical information. If only <code>CONFIG_DEBUG</code> then the only output will be errors, warnings, and critical information.
If <code>CONFIG_DEBUG_VERBOSE</code> is defined in addition, then general debug comments will also be included in the console output. If <code>CONFIG_DEBUG_VERBOSE</code> is defined in addition, then general debug comments will also be included in the syslog output.
</li> </li>
<li> <li>
<code>CONFIG_DEBUG_ENABLE</code>: Support an interface to enable or disable debug output. <code>CONFIG_SYSLOG_ENABLE</code>: Support an interface to enable or disable syslog output.
</li> </li>
<li> <li>
<code>CONFIG_DEBUG_SYMBOLS</code>: build without optimization and with debug symbols (needed for use with a debugger). <code>CONFIG_DEBUG_SYMBOLS</code>: build without optimization and with debug symbols (needed for use with a debugger).