diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-15 15:51:40 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-15 15:51:40 +0200 |
| commit | b25a939e2d8b045c083caf3264c4e5aac1cf88fb (patch) | |
| tree | 37b862c82389ceddcf4624b5e26536390d6b8265 /tools/001_derive_h48 | |
| parent | b02c083a3545b6e6b36ab62680128edec619a804 (diff) | |
| download | nissy-core-b25a939e2d8b045c083caf3264c4e5aac1cf88fb.tar.gz nissy-core-b25a939e2d8b045c083caf3264c4e5aac1cf88fb.zip | |
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.
Diffstat (limited to 'tools/001_derive_h48')
| -rw-r--r-- | tools/001_derive_h48/derive_h48.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/001_derive_h48/derive_h48.c b/tools/001_derive_h48/derive_h48.c index c964882..e471f9b 100644 --- a/tools/001_derive_h48/derive_h48.c +++ b/tools/001_derive_h48/derive_h48.c | |||
| @@ -32,7 +32,7 @@ int main(int argc, char **argv) { | |||
| 32 | filename_large = argv[3]; | 32 | filename_large = argv[3]; |
| 33 | filename_small = argv[4]; | 33 | filename_small = argv[4]; |
| 34 | 34 | ||
| 35 | nissy_setlogger(log_stderr); | 35 | nissy_setlogger(log_stdout, NULL); |
| 36 | 36 | ||
| 37 | timerun(run); | 37 | timerun(run); |
| 38 | 38 | ||
