File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 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;
You can’t perform that action at this time.
0 commit comments