Add dmesg command that can be used to dump the syslog

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4382 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-02-11 15:27:44 +00:00
parent bdbe8e114c
commit 592c4f7deb
12 changed files with 178 additions and 116 deletions
+5 -1
View File
@@ -98,6 +98,10 @@
# undef CONFIG_RAMLOG_SYSLOG
#endif
#ifndef CONFIG_RAMLOG_CONSOLE_BUFSIZE
# define CONFIG_RAMLOG_CONSOLE_BUFSIZE 1024
#endif
/****************************************************************************
* Public Data
****************************************************************************/
@@ -164,7 +168,7 @@ EXTERN int ramlog_consoleinit(void)
****************************************************************************/
#if !defined(CONFIG_RAMLOG_CONSOLE) && defined(CONFIG_RAMLOG_SYSLOG)
EXTERN int ramlog_sysloginit(void)
EXTERN int ramlog_sysloginit(void);
#endif
/****************************************************************************
+1 -1
View File
@@ -284,7 +284,7 @@ EXTERN void lib_nulloutstream(FAR struct lib_outstream_s *nulloutstream);
****************************************************************************/
#ifdef CONFIG_SYSLOG
EXTERN void lib_sylogstream(FAR struct lib_outstream_s *stream);
EXTERN void lib_syslogstream(FAR struct lib_outstream_s *stream);
#endif
#undef EXTERN