diff --git a/.gitignore b/.gitignore index ca7c4606..a8b3e252 100644 --- a/.gitignore +++ b/.gitignore @@ -87,6 +87,9 @@ cmake-build-*/ *.user *.sln +# vscode +.vscode + # macos *.DS_store *.xcodeproj/ diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index b85080a7..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "files.associations": { - "span": "cpp", - "string": "cpp", - "xstring": "cpp", - "array": "cpp", - "chrono": "cpp", - "filesystem": "cpp", - "format": "cpp", - "forward_list": "cpp", - "initializer_list": "cpp", - "list": "cpp", - "vector": "cpp", - "xhash": "cpp", - "xtree": "cpp", - "xutility": "cpp", - "xtr1common": "cpp" - } -} \ No newline at end of file diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index d2d44002..e6b47c28 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -84,6 +84,7 @@ public: logger &operator=(logger other) SPDLOG_NOEXCEPT; void swap(spdlog::logger &other) SPDLOG_NOEXCEPT; + template void log(level::level_enum lvl, const T &msg, details::attr attr) { log(source_loc{}, lvl, msg, attr);