mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[Log] Remove log_settings.json during installation and set default level to trace (#10438)
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
namespace PTSettingsHelper
|
||||
{
|
||||
constexpr inline const wchar_t* settings_filename = L"\\settings.json";
|
||||
constexpr inline const wchar_t* log_settings_filename = L"log_settings.json";
|
||||
constexpr inline const wchar_t* oobe_filename = L"oobe_settings.json";
|
||||
|
||||
std::wstring get_root_save_folder_location()
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
|
||||
namespace PTSettingsHelper
|
||||
{
|
||||
constexpr inline const wchar_t* log_settings_filename = L"log_settings.json";
|
||||
|
||||
std::wstring get_module_save_folder_location(std::wstring_view powertoy_name);
|
||||
std::wstring get_root_save_folder_location();
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
struct LogSettings
|
||||
{
|
||||
// The following strings are not localizable
|
||||
inline const static std::wstring defaultLogLevel = L"warn";
|
||||
inline const static std::wstring defaultLogLevel = L"trace";
|
||||
inline const static std::wstring logLevelOption = L"logLevel";
|
||||
inline const static std::string runnerLoggerName = "runner";
|
||||
inline const static std::wstring runnerLogPath = L"RunnerLogs\\runner-log.txt";
|
||||
|
||||
Reference in New Issue
Block a user