Server 0.0.1
HTTP/REST server implementation

src/logger/stderr.c

Go to the documentation of this file.
00001 
00023 #include <stdio.h>
00024 
00025 #include "logger/logger.h"
00026 #include "logger/interface/logger.h"
00027 
00028 static
00029 void
00030 logStderr(void * this, logger_level level, const char * const msg)
00031 {
00032         fprintf(stderr, "[%s] %s\n", logger_level_str[level], msg);
00033 }
00034 
00035 INIT_IFACE(Logger, logStderr);
00036 CREATE_CLASS(LoggerStderr, Logger, IFACE(Logger));
00037 
00038 // vim: set ts=4 sw=4:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines