* Improve log buffer code; use "loglevel" to decide which messages

to log on the console, too (like in Linux); get rid of "logstart"
This commit is contained in:
wdenk
2002-12-08 09:53:23 +00:00
parent 7c7a23bd5a
commit 228f29ac6e
12 changed files with 204 additions and 88 deletions

View File

@@ -33,8 +33,9 @@
#define LOG_BU_MASK ~(LOG_BUF_LEN-1)
#define CMD_TBL_LOG MK_CMD_TBL_ENTRY( \
"log", 3, 3, 1, do_log, \
"log", 3, 255, 1, do_log, \
"log - manipulate logbuffer\n", \
"log info - show pointer details\n" \
"log reset - clear contents\n" \
"log show - show contents\n" \
"log append <msg> - append <msg> to the logbuffer\n" \