Add MSVC Output window Journal config setting

Conflicts:
	src/ripple/peerfinder/impl/Manager.cpp
	src/ripple/validators/impl/Manager.cpp
This commit is contained in:
Vinnie Falco
2013-11-10 14:57:02 -08:00
parent 472baa8bac
commit d4d6acdf68
8 changed files with 107 additions and 89 deletions

View File

@@ -154,6 +154,25 @@
#define RIPPLE_TRACK_MUTEXES 0
#endif
/** Config: RIPPLE_JOURNAL_MSVC_OUTPUT
A comma separated string of Journal partition names. The partitions which
appear in this list will be logged to the MSVC Output Window if the
process is launched from the IDE.
*/
#ifndef RIPPLE_JOURNAL_MSVC_OUTPUT
#define RIPPLE_JOURNAL_MSVC_OUTPUT ""
#endif
/** Config: RIPPLE_JOURNAL_MSVC_OUTPUT_SEVERITY
A Journal severity constant. Log entries below this severity that would be
destined for the MSVC Output Window will not be reported. This has no
effect on partitions not listed in RIPPLE_MSVC_OUTPUT_JOURNALS, or if not
running under the MSVC IDE.
*/
#ifndef RIPPLE_JOURNAL_MSVC_OUTPUT_SEVERITY
#define RIPPLE_JOURNAL_MSVC_OUTPUT_SEVERITY Journal::kLowestSeverity
#endif
//------------------------------------------------------------------------------
// Here temporarily to turn off new Validations code while it