mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:13:03 +00:00
[CMD] Support dynamic trace (#7093)
Based on Hans Harder's patch. Realize tracing cmd on console output. JIRA issue: CORE-6669 - Add FEATURE_DYNAMIC_TRACE feature. - Add CmdTrace function. - Re-define FIXME, ERR, WARN, and TRACE macros. - Check CMDTRACE environment variable. If it was "ON", then enable dynamic trace.
This commit is contained in:
parent
6c74e69d12
commit
3dcae2ce0c
5 changed files with 106 additions and 4 deletions
|
@ -18,26 +18,24 @@
|
|||
/* Define to enable the alias command, and aliases.*/
|
||||
#define FEATURE_ALIASES
|
||||
|
||||
|
||||
/* Define to enable history */
|
||||
#define FEATURE_HISTORY
|
||||
|
||||
/*Define to enable history wrap (4nt's style)*/
|
||||
#define WRAP_HISTORY
|
||||
|
||||
|
||||
/* Define one of these to enable filename completion */
|
||||
//#define FEATURE_UNIX_FILENAME_COMPLETION
|
||||
#define FEATURE_4NT_FILENAME_COMPLETION
|
||||
|
||||
|
||||
/* Define to enable the directory stack */
|
||||
#define FEATURE_DIRECTORY_STACK
|
||||
|
||||
|
||||
/* Define to activate redirections and piping */
|
||||
#define FEATURE_REDIRECTION
|
||||
|
||||
/* Define to enable dynamic switching of TRACE output in console */
|
||||
#define FEATURE_DYNAMIC_TRACE
|
||||
|
||||
/* Define one of these to select the used locale. */
|
||||
/* (date and time formats etc.) used in DATE, TIME, */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue