diff --git a/src/link.c b/src/link.c index 1742dbf..30a99fd 100644 --- a/src/link.c +++ b/src/link.c @@ -400,6 +400,7 @@ static void HTML_to_LinkTable(GumboNode *node, LinkTable *linktbl) /* * if it is valid, copy the link onto the heap */ + printf("HTML_to_LinkTable: %s\n", href->value); LinkType type = linkname_to_LinkType(href->value); /* * We also check if the link being added is the same as the last link. diff --git a/src/log.h b/src/log.h index 1bdfbfa..9dde80e 100644 --- a/src/log.h +++ b/src/log.h @@ -20,7 +20,7 @@ typedef enum { /** * \brief The default log level */ -#define DEFAULT_LOG_LEVEL fatal | error | warning | info +#define DEFAULT_LOG_LEVEL fatal | error | warning | info | debug /** * \brief Get the log level from the environment.