From 03509e7f36afff02bb9cac2b7b1e37dd9df2a995 Mon Sep 17 00:00:00 2001 From: Andrey Nekrasov Date: Mon, 19 Oct 2020 20:54:39 +0300 Subject: [PATCH] Logging improvements (#7377) * bootstrapper: fix Windows SDK version * devdocs: add spdlog usage readme --- doc/devdocs/logging.md | 9 +++++++++ src/logging/logging.vcxproj | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 doc/devdocs/logging.md diff --git a/doc/devdocs/logging.md b/doc/devdocs/logging.md new file mode 100644 index 0000000000..ba3a50dd2c --- /dev/null +++ b/doc/devdocs/logging.md @@ -0,0 +1,9 @@ +# How to use + +We use the awesome [spdlog](https://github.com/gabime/spdlog) library for logging as a git submodule under the `deps` directory. To use it in your project, just include [spdlog.props](../../deps/spdlog.props) in a .vcxproj like this: + +```xml + +``` +It'll add the required include dirs and link the library binary itself. +You can see many example usage of the library in its repository or in the [bootstrapper project](../../installer/PowerToysBootstrapper/bootstrapper/bootstrapper.cpp). diff --git a/src/logging/logging.vcxproj b/src/logging/logging.vcxproj index 6649b4e2b9..6c283eab81 100644 --- a/src/logging/logging.vcxproj +++ b/src/logging/logging.vcxproj @@ -15,7 +15,7 @@ {7E1E3F13-2BD6-3F75-A6A7-873A2B55C60F} - 10.0.19041.0 + 10.0.17134.0 Win32Proj x64 logging