No description
- Zig 92.2%
- C 7.6%
- Makefile 0.2%
| csrc | wip branch:main | |
| src | wip branch:main | |
| .gitignore | wip branch:main | |
| build.zig | wip branch:main | |
| build.zig.zon | wip branch:main | |
| Makefile | wip branch:main | |
| README | wip branch:main | |
This shows how to use the following c logging code from zig: https://github.com/rxi/log.c.git It uses the standard zig logging facilities std.log, and adds a file handle so it can also log to a file using the C code. That might be a lie, I think we will use a custom scope to log to file. which would use zig's 'scoped()' log thing. Basically the integration with zig is to hijack the log fn and then switch on the scope. If the scope is our new custom file one then ONLY log to the file. Otherwise just pass along to the default log fn.