Mercurial > molko
diff libmlk-core/core/trace.h @ 253:c4da052c0def
core: goodbye doxygen
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 03 Dec 2020 09:06:52 +0100 |
parents | 71b3b7036de7 |
children | 08ab73b32832 |
line wrap: on
line diff
--- a/libmlk-core/core/trace.h Tue Dec 01 21:53:23 2020 +0100 +++ b/libmlk-core/core/trace.h Thu Dec 03 09:06:52 2020 +0100 @@ -19,51 +19,16 @@ #ifndef MOLKO_CORE_TRACE_H #define MOLKO_CORE_TRACE_H -/** - * \file trace.h - * \brief Non-fatal message logs. - * - * The purpose of this module is to provide a feedback from the code when there - * are non-fatal programming error or unexpected results. In contrast to the - * \ref debug.h module this one is always activated no manner if the build - * is in Debug or Release. - * - * For example, having an animation with a delay of 0 is not a technical issue - * but is probably not what the use wants. Thus, a trace warning may be - * generated in that way. - */ - #include <stdarg.h> -/** - * \brief Maximum length for a trace log. - */ #define TRACE_LINE_MAX (1024) -/** - * \brief Global trace handler. - * - * The default one use a simple printf on the standard output. - */ extern void (*trace_handler)(const char *); -/** - * Log some information. - * - * \pre fmt != NULL - * \param fmt the printf(3) format string - */ void tracef(const char *fmt, ...); -/** - * Similar to \ref tracef with a va_list arguments pointer. - * - * \pre fmt != NULL - * \param fmt the printf(3) format string - * \param ap the argument list - */ void -vtracef(const char *fmt, va_list ap); +traceva(const char *fmt, va_list ap); #endif /* !MOLKO_CORE_TRACE_H */