diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-01-16 11:12:56 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-01-16 11:13:50 +0100 |
commit | 37acb9a97cd3ff034f529b78739f93707877855c (patch) | |
tree | 29c49ec9de3ffbdd0de742fc3bcb00ae720d701f /mg2d_test.c | |
parent | d605be98a5ce957ed36a17182caec20e32132326 (diff) |
mg2d: add a context variable to control the log level
Simpler to use than overriding the log callback.
API bump.
Diffstat (limited to 'mg2d_test.c')
-rw-r--r-- | mg2d_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mg2d_test.c b/mg2d_test.c index 9b55963..c04e824 100644 --- a/mg2d_test.c +++ b/mg2d_test.c @@ -69,6 +69,7 @@ int main(int argc, char **argv) ctx->nb_relax_post = 2; ctx->tol = TOL; ctx->nb_threads = 1; + ctx->log_level = MG2D_LOG_VERBOSE; { MG2DBoundary *bnd = ctx->boundaries[MG2D_BOUNDARY_0L]; |