add WINIX_SAVE_FILELOG plugin message

This commit is contained in:
2022-09-01 07:34:10 +02:00
parent e09a93bd72
commit bff435db9a
4 changed files with 40 additions and 20 deletions

View File

@@ -70,6 +70,7 @@ App::App()
file_log.set_synchro(&synchro);
file_log.set_time_zones(&system.time_zones);
// file_log.set_plugin(...) is called later, when a plugin object is initialized
log.set_log_buffer(&log_buffer);
log.set_file_log(&file_log);
@@ -116,6 +117,9 @@ App::App()
plugin.SetSessionManager(&session_manager);
plugin.SetWinixRequest(&winix_request);
// now we can set the plugin in the file_log
file_log.set_plugin(&plugin);
functions.set_dependency(&winix_request);
// functions.set_config(&config);
// functions.set_file_log(&file_log);