Moved logging, added log level paramater to standalone runner

This commit is contained in:
James Booth
2015-06-08 22:18:48 +01:00
parent ad6728e74b
commit 954d3a2128
6 changed files with 33 additions and 16 deletions

View File

@@ -34,6 +34,8 @@ static int timeoutsecs = 0;
void
verify_set_timeout(int seconds)
{
log_println(STBBR_LOGDEBUG, "Setting timeout: %d seconds", seconds);
if (seconds <= 0) {
timeoutsecs = 0;
} else {