add noslog build tag and small reference section to README

This commit is contained in:
soypat
2026-09-01 13:12:51 -07:00
parent c97a32f3c1
commit 91a048fb1d
6 changed files with 23 additions and 5 deletions
+8
View File
@@ -290,3 +290,11 @@ The document has moved
</BODY></HTML>
success
```
## Reference
### Build tags
- `debugheaplog`: All logging calls are enabled and all will print out heap information. Warning: Heavy cost on some TinyGo garbage collectors which do not cache the GC statistics
- `noslog`: All slog package logging calls omitted.
- `xnetdebug`: Packet capture printing to standard output enabled on `xnet.StackAsync` Ethernet and IP receive and send methods