Use the slog package and provide command-line argument to control log level

This commit is contained in:
Michael Hohn
2024-08-19 16:02:17 -07:00
committed by =Michael Hohn
parent c9dbba5014
commit e5016b2c9b
3 changed files with 74 additions and 27 deletions

View File

@@ -270,10 +270,16 @@
# Type 'help' for list of commands.
# (dlv) c
# dlv debug builds, so the above build may be redundant
dlv debug -- download --session mirva-session-$SN \
--download-dbs \
--output-dir mirva-session-$SN-sarif \
--output-dir mirva-session-$SN-sarif
# dlv may say 'no sources', but this works anyay
b main.main
l
# This inline use of dlv may fail; attaching to a process is more reliable
#+END_SRC
** VS Code Debugger Configuration
*** launch.json for download