mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-13 01:10:26 +08:00
Update test_loaders.cpp
This commit is contained in:
parent
0b55e2c332
commit
2544fca519
@ -11,7 +11,7 @@ TEST_CASE("env", "[loaders]")
|
||||
{
|
||||
spdlog::drop("l1");
|
||||
auto l1 = spdlog::create<spdlog::sinks::test_sink_st>("l1");
|
||||
#ifdef _MSVC
|
||||
#ifdef _MSC_VER
|
||||
_putenv_s("SPDLOG_LEVEL", "l1=warn");
|
||||
#else
|
||||
setenv("SPDLOG_LEVEL", "l1=warn", 1);
|
||||
|
Loading…
Reference in New Issue
Block a user