add debugging

This commit is contained in:
Ralph 2022-11-17 14:36:06 -05:00 committed by GitHub
parent d5bac18f36
commit f446bd243c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -190,6 +190,7 @@ void lbrylog(const char *format, ...)
char message[YAAMP_SMALLBUFSIZE+1024]; char message[YAAMP_SMALLBUFSIZE+1024];
sprintf(message, "{\"username\":\"stratum\", \"content\":\"%s: %s\"}", buffer2, buffer); sprintf(message, "{\"username\":\"stratum\", \"content\":\"%s: %s\"}", buffer2, buffer);
discordlog(message); discordlog(message);
debuglog(message);
} }
void discordlog(const char *message) void discordlog(const char *message)