From b25a939e2d8b045c083caf3264c4e5aac1cf88fb Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 15 Apr 2025 15:51:40 +0200 Subject: Better logging function Now it is possible to provide some data together with the logging function. This is useful for example in C++, where I can now provide an arbitrary callable object as data, and a simple wrapper function that call the callable object as logging function. --- tools/100_checkdata/checkdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/100_checkdata/checkdata.c') diff --git a/tools/100_checkdata/checkdata.c b/tools/100_checkdata/checkdata.c index 5b3db2c..00875fa 100644 --- a/tools/100_checkdata/checkdata.c +++ b/tools/100_checkdata/checkdata.c @@ -41,7 +41,7 @@ int main(int argc, char **argv) { solver = argv[1]; filename = argv[2]; - nissy_setlogger(log_stderr); + nissy_setlogger(log_stdout, NULL); timerun(run); -- cgit v1.3