From 5941c101c045c4ba6b903219ddd8e4e19266a365 Mon Sep 17 00:00:00 2001 From: Caleb Schilly Date: Wed, 5 Feb 2025 14:17:48 -0500 Subject: [PATCH] #718: logger: fix use of logger in pressio; add macros for logging; simplify initialization in tests --- .github/workflows/ci-baseline.yml | 2 +- .github/workflows/ci-kokkos.yml | 2 +- .github/workflows/ci-trilinos.yml | 2 +- .../ode/impl/ode_advance_to_target_time.hpp | 2 +- .../solvers_nonlinear/impl/diagnostics.hpp | 4 ++-- tests/cmake/options.cmake | 24 ++++++++++++++++--- ..._stepper_1_aux_state_with_step_recovery.cc | 2 +- ...mes_fixed_mass_matrix_correctness_eigen.cc | 2 +- ...s_varying_mass_matrix_correctness_eigen.cc | 2 +- ...ode_bdf1_correctness_with_step_recovery.cc | 2 +- .../ode_bdf1_strong_condition_correctness.cc | 4 ++-- .../ode_bdf2_strong_condition_correctness.cc | 6 ++--- ...crank_nicolson_simple_correctness_eigen.cc | 4 ++-- ...crank_nicolson_simple_correctness_eigen.cc | 4 ++-- .../rom/galerkin_steady/main1.cc | 2 +- .../rom/galerkin_steady/main2.cc | 2 +- .../rom/galerkin_steady/main3.cc | 2 +- .../rom/galerkin_steady/main4.cc | 2 +- .../rom/galerkin_unsteady_explicit/main1.cc | 2 +- .../rom/galerkin_unsteady_explicit/main2.cc | 2 +- .../rom/galerkin_unsteady_explicit/main3.cc | 2 +- .../rom/galerkin_unsteady_explicit/main5.cc | 2 +- .../rom/galerkin_unsteady_implicit/main1.cc | 2 +- .../rom/galerkin_unsteady_implicit/main2.cc | 2 +- .../rom/galerkin_unsteady_implicit/main3.cc | 2 +- .../rom/galerkin_unsteady_implicit/main4.cc | 2 +- .../rom/galerkin_unsteady_implicit/main5.cc | 2 +- .../rom/galerkin_unsteady_implicit/main6.cc | 2 +- .../functional_small/rom/lspg_steady/main1.cc | 2 +- .../functional_small/rom/lspg_steady/main2.cc | 2 +- .../functional_small/rom/lspg_steady/main3.cc | 2 +- .../functional_small/rom/lspg_steady/main4.cc | 2 +- .../rom/lspg_unsteady/main1.cc | 2 +- .../rom/lspg_unsteady/main2.cc | 2 +- .../rom/lspg_unsteady/main3.cc | 2 +- .../rom/lspg_unsteady/main4.cc | 2 +- .../rom/lspg_unsteady/main5.cc | 2 +- .../rom/lspg_unsteady/main6.cc | 2 +- .../rom/lspg_unsteady/main7.cc | 2 +- .../rom/lspg_unsteady/main8.cc | 2 +- .../rom/lspg_unsteady/main9.cc | 2 +- ...ton_normaleqs_custom_types_compile_only.cc | 2 +- .../gaussnewton_normaleqs_problem3_eigen.cc | 2 +- .../gaussnewton_normaleqs_problem5_eigen.cc | 2 +- .../gaussnewton_normaleqs_problem9_eigen.cc | 2 +- .../gaussnewton_qr_problem3_eigen.cc | 2 +- .../gaussnewton_qr_problem8_eigen.cc | 2 +- ...mar_normaleqs_custom_types_compile_only.cc | 2 +- .../levmar_normaleqs_problem9_eigen.cc | 2 +- .../newton_custom_types_compile_only.cc | 2 +- .../newton_matrixfree_problem1_eigen.cc | 2 +- .../newton_problem1_eigen.cc | 2 +- .../newton_problem2_eigen.cc | 2 +- ...ton_normaleqs_custom_types_compile_only.cc | 2 +- ...ed_gaussnewton_normaleqs_problem3_eigen.cc | 2 +- 55 files changed, 81 insertions(+), 63 deletions(-) diff --git a/.github/workflows/ci-baseline.yml b/.github/workflows/ci-baseline.yml index 871f85871..ede65ddc7 100644 --- a/.github/workflows/ci-baseline.yml +++ b/.github/workflows/ci-baseline.yml @@ -66,7 +66,7 @@ jobs: with: repository: Pressio/pressio-templates-usage-as-library path: examples - ref: 2-update-logging-to-use-pressio-log + ref: main - name: Checkout pressio-log uses: actions/checkout@v4 diff --git a/.github/workflows/ci-kokkos.yml b/.github/workflows/ci-kokkos.yml index 000b3cafc..9afdcbf00 100644 --- a/.github/workflows/ci-kokkos.yml +++ b/.github/workflows/ci-kokkos.yml @@ -57,7 +57,7 @@ jobs: with: repository: Pressio/pressio-templates-usage-as-library path: examples - ref: 2-update-logging-to-use-pressio-log + ref: main - name: Checkout pressio-log uses: actions/checkout@v4 diff --git a/.github/workflows/ci-trilinos.yml b/.github/workflows/ci-trilinos.yml index 5b8987385..2891c03df 100644 --- a/.github/workflows/ci-trilinos.yml +++ b/.github/workflows/ci-trilinos.yml @@ -55,7 +55,7 @@ jobs: with: repository: Pressio/pressio-templates-usage-as-library path: examples - ref: 2-update-logging-to-use-pressio-log + ref: main - name: Checkout pressio-log uses: actions/checkout@v4 diff --git a/include/pressio/ode/impl/ode_advance_to_target_time.hpp b/include/pressio/ode/impl/ode_advance_to_target_time.hpp index a67bd72aa..d63d37130 100644 --- a/include/pressio/ode/impl/ode_advance_to_target_time.hpp +++ b/include/pressio/ode/impl/ode_advance_to_target_time.hpp @@ -162,7 +162,7 @@ void to_target_time_with_step_size_policy(StepperType & stepper, throw std::runtime_error("Violation of minimum time step while trying to recover time step"); } - PRESSIOLOG_ERROR("time step={} failed, retrying with dt={}", step, dt.get()); + PRESSIOLOG_WARNING("time step={} failed, retrying with dt={}", step, dt.get()); } } } diff --git a/include/pressio/solvers_nonlinear/impl/diagnostics.hpp b/include/pressio/solvers_nonlinear/impl/diagnostics.hpp index da1bb143d..658288826 100644 --- a/include/pressio/solvers_nonlinear/impl/diagnostics.hpp +++ b/include/pressio/solvers_nonlinear/impl/diagnostics.hpp @@ -262,7 +262,7 @@ class DiagnosticsLogger const auto pd = dm.publicNames(); -#if !defined(PRESSIO_ENABLE_INTERNAL_SPDLOG) +#if !defined(PRESSIO_ENABLE_LOGGING) int rank = 0; #if defined PRESSIO_ENABLE_TPL_MPI @@ -282,7 +282,7 @@ class DiagnosticsLogger std::cout << "\n"; } #else - PRESSIOLOG_INFO(rootWithLabels_, iStep, lam(pd[Is], dm[pd[Is]]) ...); + PRESSIOLOG_BASIC(rootWithLabels_, iStep, lam(pd[Is], dm[pd[Is]]) ...); #endif } diff --git a/tests/cmake/options.cmake b/tests/cmake/options.cmake index a9ff273ce..fcf5c5f09 100644 --- a/tests/cmake/options.cmake +++ b/tests/cmake/options.cmake @@ -9,12 +9,30 @@ if (PRESSIO_ENABLE_DEBUG_PRINT) add_definitions(-DPRESSIO_ENABLE_DEBUG_PRINT) endif() -option(PRESSIO_ENABLE_INTERNAL_SPDLOG "Enable the use of the internal spdlog" ON) -if (PRESSIO_ENABLE_INTERNAL_SPDLOG) - add_definitions(-DPRESSIO_ENABLE_INTERNAL_SPDLOG) +# LOGGING MACROS + +option(PRESSIO_ENABLE_LOGGING "Enable logging via pressio-log" ON) +if (PRESSIO_ENABLE_LOGGING) + add_compile_definitions(PRESSIO_ENABLE_LOGGING=1) +else() + add_compile_definitions(PRESSIO_ENABLE_LOGGING=0) +endif() + +option(PRESSIO_SILENCE_WARNINGS "Enable or disable warnings" OFF) +if (PRESSIO_SILENCE_WARNINGS) + add_compile_definitions(PRESSIO_SILENCE_WARNINGS=1) +else () + add_compile_definitions(PRESSIO_SILENCE_WARNINGS=0) endif() +option(PRESSIO_ENABLE_COLORIZED_OUTPUT "Enable or disable colorized logging" OFF) +if (PRESSIO_ENABLE_COLORIZED_OUTPUT) + add_compile_definitions(PRESSIO_ENABLE_COLORIZED_OUTPUT=1) +else () + add_compile_definitions(PRESSIO_ENABLE_COLORIZED_OUTPUT=0) +endif() +# TPLs option(PRESSIO_ENABLE_TPL_EIGEN "Enable Eigen TPL" ON) option(PRESSIO_ENABLE_TPL_TRILINOS "Enable Trilinos TPL" OFF) option(PRESSIO_ENABLE_TPL_KOKKOS "Enable Kokkos TPL" OFF) diff --git a/tests/functional_small/ode_steppers/arbitrary_stepper_1_aux_state_with_step_recovery.cc b/tests/functional_small/ode_steppers/arbitrary_stepper_1_aux_state_with_step_recovery.cc index 4a660a809..7465a6364 100644 --- a/tests/functional_small/ode_steppers/arbitrary_stepper_1_aux_state_with_step_recovery.cc +++ b/tests/functional_small/ode_steppers/arbitrary_stepper_1_aux_state_with_step_recovery.cc @@ -123,7 +123,7 @@ struct MyFakeSolver int main() { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::basic, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::basic); using app_t = MyApp; using state_t = typename app_t::state_type; diff --git a/tests/functional_small/ode_steppers/ode_all_implicit_schemes_fixed_mass_matrix_correctness_eigen.cc b/tests/functional_small/ode_steppers/ode_all_implicit_schemes_fixed_mass_matrix_correctness_eigen.cc index 3aca2ed19..952bfd840 100644 --- a/tests/functional_small/ode_steppers/ode_all_implicit_schemes_fixed_mass_matrix_correctness_eigen.cc +++ b/tests/functional_small/ode_steppers/ode_all_implicit_schemes_fixed_mass_matrix_correctness_eigen.cc @@ -176,7 +176,7 @@ struct FakeNonLinearSolver2{ #define ODE_MASS_MATRIX_CHECK_TEST(NAME) \ std::cout << "\n"; \ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::info, pressiolog::LogTo::console); \ + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::info); \ using namespace pressio; \ srand(342556331); \ const auto nsteps = ::pressio::ode::StepCount(4); \ diff --git a/tests/functional_small/ode_steppers/ode_all_implicit_schemes_varying_mass_matrix_correctness_eigen.cc b/tests/functional_small/ode_steppers/ode_all_implicit_schemes_varying_mass_matrix_correctness_eigen.cc index 6665255a0..b58b2f00a 100644 --- a/tests/functional_small/ode_steppers/ode_all_implicit_schemes_varying_mass_matrix_correctness_eigen.cc +++ b/tests/functional_small/ode_steppers/ode_all_implicit_schemes_varying_mass_matrix_correctness_eigen.cc @@ -199,7 +199,7 @@ struct FakeNonLinearSolver2{ #define ODE_MASS_MATRIX_CHECK_TEST(NAME) \ std::cout << "\n"; \ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::info, pressiolog::LogTo::console); \ + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::info); \ using namespace pressio; \ srand(342556331); \ const auto nsteps = ::pressio::ode::StepCount(4); \ diff --git a/tests/functional_small/ode_steppers/ode_bdf1_correctness_with_step_recovery.cc b/tests/functional_small/ode_steppers/ode_bdf1_correctness_with_step_recovery.cc index 1cdec4b18..77b11172c 100644 --- a/tests/functional_small/ode_steppers/ode_bdf1_correctness_with_step_recovery.cc +++ b/tests/functional_small/ode_steppers/ode_bdf1_correctness_with_step_recovery.cc @@ -132,7 +132,7 @@ struct MyFakeSolver int main() { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using app_t = MyApp; using state_t = typename app_t::state_type; diff --git a/tests/functional_small/ode_steppers/ode_bdf1_strong_condition_correctness.cc b/tests/functional_small/ode_steppers/ode_bdf1_strong_condition_correctness.cc index 4a500db72..8c9eef8c7 100644 --- a/tests/functional_small/ode_steppers/ode_bdf1_strong_condition_correctness.cc +++ b/tests/functional_small/ode_steppers/ode_bdf1_strong_condition_correctness.cc @@ -58,7 +58,7 @@ struct MyFakeSolver TEST(ode, implicit_bdf1_step_strong_condition_correctness_A) { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using namespace pressio; using problem_t = MyApp; @@ -90,7 +90,7 @@ TEST(ode, implicit_bdf1_step_strong_condition_correctness_A) TEST(ode, implicit_bdf1_step_strong_condition_correctness_B) { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using namespace pressio; using problem_t = MyApp; diff --git a/tests/functional_small/ode_steppers/ode_bdf2_strong_condition_correctness.cc b/tests/functional_small/ode_steppers/ode_bdf2_strong_condition_correctness.cc index b054b2d4e..3e2f3e28e 100644 --- a/tests/functional_small/ode_steppers/ode_bdf2_strong_condition_correctness.cc +++ b/tests/functional_small/ode_steppers/ode_bdf2_strong_condition_correctness.cc @@ -66,7 +66,7 @@ struct MyFakeSolver TEST(ode, implicit_bdf2_step_strong_condition_correctness_A) { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using namespace pressio; using problem_t = MyApp; @@ -118,7 +118,7 @@ TEST(ode, implicit_bdf2_step_strong_condition_correctness_B) 1 1.3 */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using namespace pressio; using problem_t = MyApp; @@ -177,7 +177,7 @@ TEST(ode, implicit_bdf2_step_strong_condition_correctness_C) 1 1.3 1.6 1.8 */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using namespace pressio; using problem_t = MyApp; diff --git a/tests/functional_small/ode_steppers/ode_crank_nicolson_simple_correctness_eigen.cc b/tests/functional_small/ode_steppers/ode_crank_nicolson_simple_correctness_eigen.cc index 4cedc193f..bbcee822d 100644 --- a/tests/functional_small/ode_steppers/ode_crank_nicolson_simple_correctness_eigen.cc +++ b/tests/functional_small/ode_steppers/ode_crank_nicolson_simple_correctness_eigen.cc @@ -224,7 +224,7 @@ struct MyFakeSolver TEST(ode, implicit_crank_nicolson_correctness_default_policy) { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using app_t = MyApp; using state_t = typename app_t::state_type; @@ -247,7 +247,7 @@ TEST(ode, implicit_crank_nicolson_correctness_default_policy) TEST(ode, implicit_crank_nicolson_correctness_custom_policy) { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using app_t = MyApp; using state_t = typename app_t::state_type; diff --git a/tests/functional_small/ode_steppers/to_revise/ode_crank_nicolson_simple_correctness_eigen.cc b/tests/functional_small/ode_steppers/to_revise/ode_crank_nicolson_simple_correctness_eigen.cc index 35d207fc7..c60331898 100644 --- a/tests/functional_small/ode_steppers/to_revise/ode_crank_nicolson_simple_correctness_eigen.cc +++ b/tests/functional_small/ode_steppers/to_revise/ode_crank_nicolson_simple_correctness_eigen.cc @@ -214,7 +214,7 @@ struct MyFakeSolver TEST(ode, implicit_crank_nicolson_correctness_default_policy) { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using app_t = MyApp; using state_t = typename app_t::state_type; @@ -237,7 +237,7 @@ TEST(ode, implicit_crank_nicolson_correctness_default_policy) TEST(ode, implicit_crank_nicolson_correctness_custom_policy) { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using app_t = MyApp; using state_t = typename app_t::state_type; diff --git a/tests/functional_small/rom/galerkin_steady/main1.cc b/tests/functional_small/rom/galerkin_steady/main1.cc index 1105ee2e6..dcbec7aa9 100644 --- a/tests/functional_small/rom/galerkin_steady/main1.cc +++ b/tests/functional_small/rom/galerkin_steady/main1.cc @@ -110,7 +110,7 @@ struct FakeNonLinSolverSteady TEST(rom_galerkin_steady, default) { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); constexpr int N = 8; using fom_t = MyFom; diff --git a/tests/functional_small/rom/galerkin_steady/main2.cc b/tests/functional_small/rom/galerkin_steady/main2.cc index 8fe1e10f6..351f7ce5b 100644 --- a/tests/functional_small/rom/galerkin_steady/main2.cc +++ b/tests/functional_small/rom/galerkin_steady/main2.cc @@ -48,7 +48,7 @@ TEST(rom_galerkin_steady, default_matrix_free) just supposed to compile for now */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); constexpr int N = 8; using fom_t = MyFom; diff --git a/tests/functional_small/rom/galerkin_steady/main3.cc b/tests/functional_small/rom/galerkin_steady/main3.cc index 4ae86603e..f9cc23f54 100644 --- a/tests/functional_small/rom/galerkin_steady/main3.cc +++ b/tests/functional_small/rom/galerkin_steady/main3.cc @@ -133,7 +133,7 @@ TEST(rom_galerkin_steady, hyperreduced) except that we pretend here to do a hyper-reduced problem */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); const int nStencil = 13; const std::vector validStateIndices = {2,3,4,5,6,10,11,12}; diff --git a/tests/functional_small/rom/galerkin_steady/main4.cc b/tests/functional_small/rom/galerkin_steady/main4.cc index 32f1bc0fd..80af25042 100644 --- a/tests/functional_small/rom/galerkin_steady/main4.cc +++ b/tests/functional_small/rom/galerkin_steady/main4.cc @@ -165,7 +165,7 @@ TEST(rom_galerkin_steady, masked) { /* steady galerkin masked */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); constexpr int N = 13; /* corrupt indices are those that we mess up on purpose */\ diff --git a/tests/functional_small/rom/galerkin_unsteady_explicit/main1.cc b/tests/functional_small/rom/galerkin_unsteady_explicit/main1.cc index 87209a91d..6b68d160c 100644 --- a/tests/functional_small/rom/galerkin_unsteady_explicit/main1.cc +++ b/tests/functional_small/rom/galerkin_unsteady_explicit/main1.cc @@ -85,7 +85,7 @@ TEST(rom_galerkin_explicit, default) rom_state|_step2 = [0,51,102]^T + phi^T f(y_fom, t=1.) = [0, 2611, 5222] */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); // create fom constexpr int N = 10; diff --git a/tests/functional_small/rom/galerkin_unsteady_explicit/main2.cc b/tests/functional_small/rom/galerkin_unsteady_explicit/main2.cc index a9eee7be5..98897a1be 100644 --- a/tests/functional_small/rom/galerkin_unsteady_explicit/main2.cc +++ b/tests/functional_small/rom/galerkin_unsteady_explicit/main2.cc @@ -93,7 +93,7 @@ TEST(rom_galerkin_explicit, hyperreduced_velo_euler_forward) we fake hypereduction by mimicing a stencil/sample mesh */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); const std::vector sampleMeshIndices = {1,3,5,7,9,11,13,15,17,19}; const int nstencil = 20; diff --git a/tests/functional_small/rom/galerkin_unsteady_explicit/main3.cc b/tests/functional_small/rom/galerkin_unsteady_explicit/main3.cc index 6b9c242ea..07ef839dc 100644 --- a/tests/functional_small/rom/galerkin_unsteady_explicit/main3.cc +++ b/tests/functional_small/rom/galerkin_unsteady_explicit/main3.cc @@ -110,7 +110,7 @@ TEST(rom_galerkin_explicit, masked_velo_euler_forward) is doing the same thing the default galerkin main1.cc */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); constexpr int nFull = 20;\ const std::vector sample_indices = {0,2,4,6,8,10,12,14,16,18}; diff --git a/tests/functional_small/rom/galerkin_unsteady_explicit/main5.cc b/tests/functional_small/rom/galerkin_unsteady_explicit/main5.cc index e272c16f0..6a6fded34 100644 --- a/tests/functional_small/rom/galerkin_unsteady_explicit/main5.cc +++ b/tests/functional_small/rom/galerkin_unsteady_explicit/main5.cc @@ -96,7 +96,7 @@ TEST(rom_galerkin_explicit, test5) phi^T f = [70; 140; 210] */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); constexpr int N = 5; using fom_t = MyFom; diff --git a/tests/functional_small/rom/galerkin_unsteady_implicit/main1.cc b/tests/functional_small/rom/galerkin_unsteady_implicit/main1.cc index ac42ffab7..0d912ba3b 100644 --- a/tests/functional_small/rom/galerkin_unsteady_implicit/main1.cc +++ b/tests/functional_small/rom/galerkin_unsteady_implicit/main1.cc @@ -119,7 +119,7 @@ TEST(rom_galerkin_implicit, default_bdf1) // test for default implicit galerkin using BDF1 // all numbers have been computed manually - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); // create fom using fom_t = MyFom; diff --git a/tests/functional_small/rom/galerkin_unsteady_implicit/main2.cc b/tests/functional_small/rom/galerkin_unsteady_implicit/main2.cc index dd0c34494..84467e5a8 100644 --- a/tests/functional_small/rom/galerkin_unsteady_implicit/main2.cc +++ b/tests/functional_small/rom/galerkin_unsteady_implicit/main2.cc @@ -189,7 +189,7 @@ TEST(rom_galerkin_implicit, hyperreduced_bdf1) // test for hypred implicit galerkin using BDF1 // all numbers have been computed manually - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); const int nStencil = 20; const int nSample = 10; diff --git a/tests/functional_small/rom/galerkin_unsteady_implicit/main3.cc b/tests/functional_small/rom/galerkin_unsteady_implicit/main3.cc index 3cfd4f6d2..a730425d7 100644 --- a/tests/functional_small/rom/galerkin_unsteady_implicit/main3.cc +++ b/tests/functional_small/rom/galerkin_unsteady_implicit/main3.cc @@ -212,7 +212,7 @@ TEST(rom_galerkin_implicit, masked_bdf1) // test for masked implicit galerkin using BDF1 // all numbers have been computed manually - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); constexpr int nFull = 20; const std::vector sample_indices = {0,2,4,6,8,10,12,14,16,18}; diff --git a/tests/functional_small/rom/galerkin_unsteady_implicit/main4.cc b/tests/functional_small/rom/galerkin_unsteady_implicit/main4.cc index 6e40e81eb..7c6a56925 100644 --- a/tests/functional_small/rom/galerkin_unsteady_implicit/main4.cc +++ b/tests/functional_small/rom/galerkin_unsteady_implicit/main4.cc @@ -243,7 +243,7 @@ TEST(rom_galerkin_implicit, default_fullydiscrete_n2) { /* default galerkin impliacit eigen with fully discrete API */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); constexpr int N = 5; using fom_t = MyFom; diff --git a/tests/functional_small/rom/galerkin_unsteady_implicit/main5.cc b/tests/functional_small/rom/galerkin_unsteady_implicit/main5.cc index 6d365803e..03c7433ab 100644 --- a/tests/functional_small/rom/galerkin_unsteady_implicit/main5.cc +++ b/tests/functional_small/rom/galerkin_unsteady_implicit/main5.cc @@ -318,7 +318,7 @@ TEST(rom_galerkin_implicit, default_fullydiscrete_n3) { /* default galerkin impliacit eigen with fully discrete API */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); constexpr int N = 5; using fom_t = MyFom; diff --git a/tests/functional_small/rom/galerkin_unsteady_implicit/main6.cc b/tests/functional_small/rom/galerkin_unsteady_implicit/main6.cc index 255592afb..812a2c454 100644 --- a/tests/functional_small/rom/galerkin_unsteady_implicit/main6.cc +++ b/tests/functional_small/rom/galerkin_unsteady_implicit/main6.cc @@ -110,7 +110,7 @@ TEST(rom_galerkin_implicit, default_with_massmatrix_bdf1) { // implicit default galerkin with mass matrix - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); // create fom using fom_t = MyFom; diff --git a/tests/functional_small/rom/lspg_steady/main1.cc b/tests/functional_small/rom/lspg_steady/main1.cc index 7d0e1ebdb..eb72d4395 100644 --- a/tests/functional_small/rom/lspg_steady/main1.cc +++ b/tests/functional_small/rom/lspg_steady/main1.cc @@ -133,7 +133,7 @@ TEST(rom_lspg_steady, test1) - fom applyJac appJac(B) always returns B += 1 */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); constexpr int N = 8; using fom_t = MyFom; diff --git a/tests/functional_small/rom/lspg_steady/main2.cc b/tests/functional_small/rom/lspg_steady/main2.cc index dfe957899..c17f7ee5b 100644 --- a/tests/functional_small/rom/lspg_steady/main2.cc +++ b/tests/functional_small/rom/lspg_steady/main2.cc @@ -135,7 +135,7 @@ TEST(rom_lspg_steady, test2) { /* default steady lspg with preconditioning */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); namespace plspg = pressio::rom::lspg; diff --git a/tests/functional_small/rom/lspg_steady/main3.cc b/tests/functional_small/rom/lspg_steady/main3.cc index afad48283..2479e4353 100644 --- a/tests/functional_small/rom/lspg_steady/main3.cc +++ b/tests/functional_small/rom/lspg_steady/main3.cc @@ -131,7 +131,7 @@ TEST(rom_lspg_steady, test3) steady hyper-reduced lspg */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); const int nStencil = 15; const int nSample = 8; diff --git a/tests/functional_small/rom/lspg_steady/main4.cc b/tests/functional_small/rom/lspg_steady/main4.cc index 52fe2ff16..a3d5c0025 100644 --- a/tests/functional_small/rom/lspg_steady/main4.cc +++ b/tests/functional_small/rom/lspg_steady/main4.cc @@ -160,7 +160,7 @@ TEST(rom_lspg_steady, test4) { /* steady masked LSPG */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); const int N = 15; const std::vector indices_to_corrupt = {1,3,5,7,9,11,13}; diff --git a/tests/functional_small/rom/lspg_unsteady/main1.cc b/tests/functional_small/rom/lspg_unsteady/main1.cc index 12aff8060..734f28519 100644 --- a/tests/functional_small/rom/lspg_unsteady/main1.cc +++ b/tests/functional_small/rom/lspg_unsteady/main1.cc @@ -267,7 +267,7 @@ TEST(rom_lspg_unsteady, test1) { /* default lspg eigen */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); constexpr int N = 8; using fom_t = MyFom; diff --git a/tests/functional_small/rom/lspg_unsteady/main2.cc b/tests/functional_small/rom/lspg_unsteady/main2.cc index c4fde6b5e..e35874135 100644 --- a/tests/functional_small/rom/lspg_unsteady/main2.cc +++ b/tests/functional_small/rom/lspg_unsteady/main2.cc @@ -369,7 +369,7 @@ TEST(rom_lspg_unsteady, test2) { /* hyper-reduced lspg eigen */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); const int nstencil = 15; const std::vector sample_indices = {0,2,4,6,8,10,12,14}; diff --git a/tests/functional_small/rom/lspg_unsteady/main3.cc b/tests/functional_small/rom/lspg_unsteady/main3.cc index 267b4c980..c600ebe95 100644 --- a/tests/functional_small/rom/lspg_unsteady/main3.cc +++ b/tests/functional_small/rom/lspg_unsteady/main3.cc @@ -370,7 +370,7 @@ TEST(rom_lspg_unsteady, test3) { /* masked lspg eigen */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); const std::vector rows_to_corrupt_ = {1,3,5,7,9,11,13};\ const std::vector sample_indices = {0,2,4,6,8,10,12,14};\ diff --git a/tests/functional_small/rom/lspg_unsteady/main4.cc b/tests/functional_small/rom/lspg_unsteady/main4.cc index 6acdaa9c4..8a69e4a2b 100644 --- a/tests/functional_small/rom/lspg_unsteady/main4.cc +++ b/tests/functional_small/rom/lspg_unsteady/main4.cc @@ -267,7 +267,7 @@ TEST(rom_lspg_unsteady, test4) { /* default lspg eigen with fully discrete API */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); constexpr int N = 8; using fom_t = MyFom; diff --git a/tests/functional_small/rom/lspg_unsteady/main5.cc b/tests/functional_small/rom/lspg_unsteady/main5.cc index 1d82daa24..dd0387e74 100644 --- a/tests/functional_small/rom/lspg_unsteady/main5.cc +++ b/tests/functional_small/rom/lspg_unsteady/main5.cc @@ -279,7 +279,7 @@ TEST(rom_lspg_unsteady, test5) note that this WILL need to be changed to a non-trivial scale */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); constexpr int N = 8; using fom_t = MyFom; diff --git a/tests/functional_small/rom/lspg_unsteady/main6.cc b/tests/functional_small/rom/lspg_unsteady/main6.cc index 5e8aa908d..8dd73174a 100644 --- a/tests/functional_small/rom/lspg_unsteady/main6.cc +++ b/tests/functional_small/rom/lspg_unsteady/main6.cc @@ -382,7 +382,7 @@ TEST(rom_lspg_unsteady, test6) note that this WILL need to be changed to a non-trivial scaler */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); const int nstencil = 15; const std::vector sample_indices = {0,2,4,6,8,10,12,14}; diff --git a/tests/functional_small/rom/lspg_unsteady/main7.cc b/tests/functional_small/rom/lspg_unsteady/main7.cc index f479b8a83..7bfda87bd 100644 --- a/tests/functional_small/rom/lspg_unsteady/main7.cc +++ b/tests/functional_small/rom/lspg_unsteady/main7.cc @@ -385,7 +385,7 @@ TEST(rom_lspg_unsteady, test7) { /* default lspg eigen */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); constexpr int N = 8; using fom_t = MyFom; diff --git a/tests/functional_small/rom/lspg_unsteady/main8.cc b/tests/functional_small/rom/lspg_unsteady/main8.cc index 61991a24a..d47e742b3 100644 --- a/tests/functional_small/rom/lspg_unsteady/main8.cc +++ b/tests/functional_small/rom/lspg_unsteady/main8.cc @@ -184,7 +184,7 @@ TEST(rom_lspg_unsteady, fully_discrete_with_recovery_n2) but has no meaning at all. It is just a nmerical trick that helps us verify things. */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using fom_t = MyFom; using reduced_state_type = Eigen::VectorXd; diff --git a/tests/functional_small/rom/lspg_unsteady/main9.cc b/tests/functional_small/rom/lspg_unsteady/main9.cc index dc4f83489..158a63f1a 100644 --- a/tests/functional_small/rom/lspg_unsteady/main9.cc +++ b/tests/functional_small/rom/lspg_unsteady/main9.cc @@ -188,7 +188,7 @@ TEST(rom_lspg_unsteady, fully_discrete_with_recovery_n3) but has no meaning at all. It is just a nmerical trick that helps us verify things. */ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using fom_t = MyFom; using reduced_state_type = Eigen::VectorXd; diff --git a/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_custom_types_compile_only.cc b/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_custom_types_compile_only.cc index d7e15badc..2f2259dc9 100644 --- a/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_custom_types_compile_only.cc +++ b/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_custom_types_compile_only.cc @@ -49,7 +49,7 @@ struct MyLinSolver{ int main() { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); { using namespace pressio; using problem_t = MyProblem; diff --git a/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_problem3_eigen.cc b/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_problem3_eigen.cc index 932732205..a775ad17d 100644 --- a/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_problem3_eigen.cc +++ b/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_problem3_eigen.cc @@ -58,7 +58,7 @@ void testC3(std::string & sentinel, int main() { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::basic, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::basic); std::string sentinel = "PASSED"; using namespace pressio; diff --git a/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_problem5_eigen.cc b/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_problem5_eigen.cc index 5233e9f15..e7d1474f7 100644 --- a/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_problem5_eigen.cc +++ b/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_problem5_eigen.cc @@ -7,7 +7,7 @@ int main() { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::info, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::info); using namespace pressio; Eigen::Vector4d state; diff --git a/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_problem9_eigen.cc b/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_problem9_eigen.cc index 8f80efa9f..080c7ae15 100644 --- a/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_problem9_eigen.cc +++ b/tests/functional_small/solvers_nonlinear/gaussnewton_normaleqs_problem9_eigen.cc @@ -7,7 +7,7 @@ int main() { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using namespace pressio; diff --git a/tests/functional_small/solvers_nonlinear/gaussnewton_qr_problem3_eigen.cc b/tests/functional_small/solvers_nonlinear/gaussnewton_qr_problem3_eigen.cc index 03d0ddf44..bb606247f 100644 --- a/tests/functional_small/solvers_nonlinear/gaussnewton_qr_problem3_eigen.cc +++ b/tests/functional_small/solvers_nonlinear/gaussnewton_qr_problem3_eigen.cc @@ -35,7 +35,7 @@ void testC2(std::string & sentinel, int main() { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::basic, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::basic); std::string sentinel = "PASSED"; using namespace pressio; diff --git a/tests/functional_small/solvers_nonlinear/gaussnewton_qr_problem8_eigen.cc b/tests/functional_small/solvers_nonlinear/gaussnewton_qr_problem8_eigen.cc index 621830560..2dee7434d 100644 --- a/tests/functional_small/solvers_nonlinear/gaussnewton_qr_problem8_eigen.cc +++ b/tests/functional_small/solvers_nonlinear/gaussnewton_qr_problem8_eigen.cc @@ -37,7 +37,7 @@ void testC2(std::string & sentinel, int main() { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::basic, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::basic); std::string sentinel= "PASSED"; using namespace pressio; diff --git a/tests/functional_small/solvers_nonlinear/levmar_normaleqs_custom_types_compile_only.cc b/tests/functional_small/solvers_nonlinear/levmar_normaleqs_custom_types_compile_only.cc index a5f4f7275..fffd6fcf2 100644 --- a/tests/functional_small/solvers_nonlinear/levmar_normaleqs_custom_types_compile_only.cc +++ b/tests/functional_small/solvers_nonlinear/levmar_normaleqs_custom_types_compile_only.cc @@ -49,7 +49,7 @@ struct MyLinSolver{ int main() { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); { using namespace pressio; using problem_t = MyProblem; diff --git a/tests/functional_small/solvers_nonlinear/levmar_normaleqs_problem9_eigen.cc b/tests/functional_small/solvers_nonlinear/levmar_normaleqs_problem9_eigen.cc index 86e23a2e9..7d548a734 100644 --- a/tests/functional_small/solvers_nonlinear/levmar_normaleqs_problem9_eigen.cc +++ b/tests/functional_small/solvers_nonlinear/levmar_normaleqs_problem9_eigen.cc @@ -63,7 +63,7 @@ void testC2(std::string & sentinel, int main() { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::info, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::info); using namespace pressio; diff --git a/tests/functional_small/solvers_nonlinear/newton_custom_types_compile_only.cc b/tests/functional_small/solvers_nonlinear/newton_custom_types_compile_only.cc index bea38c9e1..7eb14ebf8 100644 --- a/tests/functional_small/solvers_nonlinear/newton_custom_types_compile_only.cc +++ b/tests/functional_small/solvers_nonlinear/newton_custom_types_compile_only.cc @@ -56,7 +56,7 @@ struct MyLinSolver{ TEST(solvers_nonlinear, newton_compile_only) { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); { using namespace pressio; diff --git a/tests/functional_small/solvers_nonlinear/newton_matrixfree_problem1_eigen.cc b/tests/functional_small/solvers_nonlinear/newton_matrixfree_problem1_eigen.cc index 5d88085e4..00ba6681e 100644 --- a/tests/functional_small/solvers_nonlinear/newton_matrixfree_problem1_eigen.cc +++ b/tests/functional_small/solvers_nonlinear/newton_matrixfree_problem1_eigen.cc @@ -50,7 +50,7 @@ struct Problem1MatrixFree TEST(solvers_nonlinear, problem1MatrixFree) { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using namespace pressio; using problem_t = Problem1MatrixFree; diff --git a/tests/functional_small/solvers_nonlinear/newton_problem1_eigen.cc b/tests/functional_small/solvers_nonlinear/newton_problem1_eigen.cc index a74fe893f..eb9f43bce 100644 --- a/tests/functional_small/solvers_nonlinear/newton_problem1_eigen.cc +++ b/tests/functional_small/solvers_nonlinear/newton_problem1_eigen.cc @@ -8,7 +8,7 @@ template void run_impl(int reps, bool logOn = false, bool callSolveWithJustState = true) { if (logOn){ - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); } using namespace pressio; diff --git a/tests/functional_small/solvers_nonlinear/newton_problem2_eigen.cc b/tests/functional_small/solvers_nonlinear/newton_problem2_eigen.cc index 9142219a5..7648b2f03 100644 --- a/tests/functional_small/solvers_nonlinear/newton_problem2_eigen.cc +++ b/tests/functional_small/solvers_nonlinear/newton_problem2_eigen.cc @@ -6,7 +6,7 @@ TEST(solvers_nonlinear, problem1A) { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); using namespace pressio; using problem_t = solvers::test::Problem2; diff --git a/tests/functional_small/solvers_nonlinear/weighted_gaussnewton_normaleqs_custom_types_compile_only.cc b/tests/functional_small/solvers_nonlinear/weighted_gaussnewton_normaleqs_custom_types_compile_only.cc index f53fa1d65..64833f324 100644 --- a/tests/functional_small/solvers_nonlinear/weighted_gaussnewton_normaleqs_custom_types_compile_only.cc +++ b/tests/functional_small/solvers_nonlinear/weighted_gaussnewton_normaleqs_custom_types_compile_only.cc @@ -54,7 +54,7 @@ struct MyLinSolver{ int main() { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::debug); { using namespace pressio; using problem_t = MyProblem; diff --git a/tests/functional_small/solvers_nonlinear/weighted_gaussnewton_normaleqs_problem3_eigen.cc b/tests/functional_small/solvers_nonlinear/weighted_gaussnewton_normaleqs_problem3_eigen.cc index 3fb0dba32..bbd6d151d 100644 --- a/tests/functional_small/solvers_nonlinear/weighted_gaussnewton_normaleqs_problem3_eigen.cc +++ b/tests/functional_small/solvers_nonlinear/weighted_gaussnewton_normaleqs_problem3_eigen.cc @@ -70,7 +70,7 @@ void testC3(std::string & sentinel, int main() { - PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::basic, pressiolog::LogTo::console); + PRESSIOLOG_INITIALIZE(pressiolog::LogLevel::basic); std::string sentinel = "PASSED"; using namespace pressio;