mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Runner logging (#8068)
This commit is contained in:
15
src/common/logger/logger_settings.h
Normal file
15
src/common/logger/logger_settings.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
struct LogSettings
|
||||
{
|
||||
// The following strings are not localizable
|
||||
inline const static std::wstring defaultLogLevel = L"warn";
|
||||
inline const static std::wstring logLevelOption = L"logLevel";
|
||||
|
||||
std::wstring logLevel;
|
||||
LogSettings();
|
||||
};
|
||||
|
||||
// Get log settings from file. File with default options is created if it does not exist
|
||||
LogSettings get_log_settings(std::wstring_view file_name);
|
||||
Reference in New Issue
Block a user