tinygi

annotate src/logger.c @ 2:72752a1b3dbe

images and shapes
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 21 Jul 2015 04:30:00 +0300
parents
children
rev   line source
nuclear@0 1 #include <stdio.h>
nuclear@0 2 #include <stdarg.h>
nuclear@0 3 #include "logger.h"
nuclear@0 4
nuclear@0 5 void tgi_log(const char *fmt, ...)
nuclear@0 6 {
nuclear@0 7 va_list ap;
nuclear@0 8
nuclear@0 9 va_start(ap, fmt);
nuclear@0 10 vfprintf(stderr, fmt, ap);
nuclear@0 11 va_end(ap);
nuclear@0 12 }