diff --git a/README.md b/README.md index 6e62c731..a375e5a5 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # spdlog -Very fast, header-only/compiled, C++ logging library. [![ci](https://github.com/gabime/spdlog/actions/workflows/ci.yml/badge.svg)](https://github.com/gabime/spdlog/actions/workflows/ci.yml)  [![Build status](https://ci.appveyor.com/api/projects/status/d2jnxclg20vd0o50?svg=true&branch=v1.x)](https://ci.appveyor.com/project/gabime/spdlog) [![Release](https://img.shields.io/github/release/gabime/spdlog.svg)](https://github.com/gabime/spdlog/releases/latest) +Very fast, header-only/compiled, C++ logging library. [![ci](https://github.com/gabime/spdlog/actions/workflows/ci.yml/badge.svg)](https://github.com/gabime/spdlog/actions/workflows/ci.yml)  [![Build status](https://ci.appveyor.com/api/projects/status/d2jnxclg20vd0o50?svg=true&branch=v2.x)](https://ci.appveyor.com/project/gabime/spdlog) [![Release](https://img.shields.io/github/release/gabime/spdlog.svg)](https://github.com/gabime/spdlog/releases/latest) ## Install #### Header-only version -Copy the include [folder](https://github.com/gabime/spdlog/tree/v1.x/include/spdlog) to your build tree and use a C++17 compiler. +Copy the include [folder](https://github.com/gabime/spdlog/tree/v2.x/include/spdlog) to your build tree and use a C++17 compiler. #### Compiled version (recommended - much faster compile times) ```console diff --git a/tests/test_source_location.cpp b/tests/test_source_location.cpp index 8e1d5ae5..e4501f42 100644 --- a/tests/test_source_location.cpp +++ b/tests/test_source_location.cpp @@ -12,7 +12,7 @@ TEST_CASE("test_source_location", "[source_location]") auto oss_sink = std::make_shared(oss); spdlog::logger oss_logger("oss", oss_sink); oss_logger.set_pattern("%s:%# %v"); - + oss_logger.info("Hello {}", "source location"); REQUIRE(oss.str() == std::string("test_source_location.cpp:16 Hello source location") + default_eol); }