Skip to content

Commit 25ca469

Browse files
committed
Temporary modified TestPlugins.cpp for high debugging on AppVeyor.
1 parent 4a7afe8 commit 25ca469

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/tests/TestPlugins.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
#include "SelectionContext.h"
3030
#include "SelectionContext.h"
3131
#include "ActionExecute.h"
32+
#include "App.h"
33+
#include "ConsoleLoggerService.h"
3234

3335
#include "rapidassist/testing.h"
3436
#include "rapidassist/filesystem.h"
@@ -107,11 +109,13 @@ namespace shellanything
107109
TRACE_LINE;
108110

109111
{
112+
// Override default logger. Replace by a console logger
113+
shellanything::App& app = shellanything::App::GetInstance();
114+
app.SetLoggerService(new ConsoleLoggerService());
115+
110116
// Force verbose mode
111117
static const std::string& VERBOSE_OPTION_NAME = Environment::SYSTEM_LOGGING_VERBOSE_ENVIRONMENT_VARIABLE_NAME;
112118
ra::environment::SetEnvironmentVariableUtf8(VERBOSE_OPTION_NAME.c_str(), "true");
113-
114-
115119
}
116120

117121
TRACE_LINE;

0 commit comments

Comments
 (0)