Checkpoint.

- Use an optional logger (global) tied into debug()
- Defer string interpolation for logging until we know we need it

FossilOrigin-Name: 0b3e7b516a0fed2cd11fd49a5ce76fde2db36bffa30914b63f9940a4d79bb5f8
This commit is contained in:
Mahlon E. Smith 2023-06-23 16:27:37 +00:00
parent f0221aac0a
commit d63a73a22a
6 changed files with 48 additions and 27 deletions

View file

@ -11,7 +11,7 @@ dependencies:
development: ${FILES}
# can use gdb with this...
nim --debugInfo --assertions:on --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}
nim --verbosity:2 --debugInfo --assertions:on --linedir:on -d:debug -d:nimTypeNames --nimcache:.cache c ${FILES}
mv src/sieb .
debugger: ${FILES}