Add debug logs

These are disabled by default, because they're noisy. To enable them,
pass -debug.
This commit is contained in:
Misa
2021-09-01 14:11:23 -07:00
committed by Misa Elizabeth Kai
parent 2eb9e23ecc
commit b652d327dc
3 changed files with 39 additions and 0 deletions

View File

@@ -444,6 +444,10 @@ int main(int argc, char *argv[])
{
vlog_toggle_color(0);
}
else if (ARG("-debug"))
{
vlog_toggle_debug(1);
}
else if (ARG("-noinfo"))
{
vlog_toggle_info(0);