esvg/parserSVG/Debug.h
2012-08-10 12:14:33 +02:00

45 lines
1.4 KiB
C

/**
*******************************************************************************
* @file tinySVG/Debug.h
* @brief SVG : log wrapper (header)
* @author Edouard DUPIN
* @date 18/03/2012
* @par Project
* parserSVG
*
* @par Copyright
* Copyright 2011 Edouard DUPIN, all right reserved
*
* This software is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY.
*
* Licence summary :
* You can modify and redistribute the sources code and binaries.
* You can send me the bug-fix
*
* Term of the licence in in the file licence.txt.
*
*******************************************************************************
*/
#ifndef __PARSER_SVG_DEBUG_H__
#define __PARSER_SVG_DEBUG_H__
#include <etk/Types.h>
#include <etk/Debug.h>
extern const char * parserSVGLibName;
#define SVG_CRITICAL(data) ETK_CRITICAL(parserSVGLibName, data)
#define SVG_WARNING(data) ETK_WARNING(parserSVGLibName, data)
#define SVG_ERROR(data) ETK_ERROR(parserSVGLibName, data)
#define SVG_INFO(data) ETK_INFO(parserSVGLibName, data)
#define SVG_DEBUG(data) ETK_DEBUG(parserSVGLibName, data)
#define SVG_VERBOSE(data) ETK_VERBOSE(parserSVGLibName, data)
#define SVG_ASSERT(cond, data) ETK_ASSERT(parserSVGLibName, cond, data)
#define SVG_CHECK_INOUT(cond) ETK_CHECK_INOUT(parserSVGLibName, cond)
#define SVG_TODO(cond) ETK_TODO(parserSVGLibName, cond)
#endif