?login_element?
?pathlinks? – Rev 857
Blame |
Last modification |
View Log
| Download
/* debug.c - library for logging debug messages.
This is free and unencumbered software released into the public domain.
For more information, please refer to <http://unlicense.org>. */
#include "defs.h"
#include <stdarg.h>
#include <stdio.h>
#include "debug.h"
void _DEBUG (const char *file, int line, const char *func, const char *format, ...)
{
va_list ap;
if (file)
if (line)
if (func)
if (format)
}
void _PERROR (const char *file, int line, const char *func, const char *text)
{
_DEBUG (file, line, func, "%s() failed.", text);
}