mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Disable API logging in tests and validator
To prevent console spam.
This commit is contained in:
@@ -39,6 +39,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
//Disable logging or else stdout will get overrun.
|
||||
boost::log::core::get()->set_logging_enabled(false);
|
||||
loot::SetLoggingVerbosity(loot::LogVerbosity::off);
|
||||
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
|
||||
@@ -38,6 +38,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
//Disable logging or else stdout will get overrun.
|
||||
boost::log::core::get()->set_logging_enabled(false);
|
||||
loot::SetLoggingVerbosity(loot::LogVerbosity::off);
|
||||
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
|
||||
Reference in New Issue
Block a user