logging extend level set api to allow setting emission function

Signed-off-by: Andy Green <andy.green@linaro.org>
diff --git a/test-server/test-client.c b/test-server/test-client.c
index 4d8d474..9f65269 100644
--- a/test-server/test-client.c
+++ b/test-server/test-client.c
@@ -222,7 +222,7 @@
 			continue;
 		switch (n) {
 		case 'd':
-			lws_set_log_level(atoi(optarg));
+			lws_set_log_level(atoi(optarg), NULL);
 			break;
 		case 's':
 			use_ssl = 2; /* 2 = allow selfsigned */