Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
PolyORB-HI-C
Commits
5d4ddaaa
Commit
5d4ddaaa
authored
Apr 06, 2016
by
yoogx
Browse files
* Use CRITICAL as default log level
Backported from TASTE rev7748
parent
d3362c8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/po_hi_debug.h
View file @
5d4ddaaa
...
...
@@ -5,7 +5,7 @@
*
* For more informations, please visit http://taste.tuxfamily.org/wiki
*
* Copyright (C) 2007-2009 Telecom ParisTech, 2010-201
4
ESA & ISAE.
* Copyright (C) 2007-2009 Telecom ParisTech, 2010-201
6
ESA & ISAE.
*/
#ifndef __PO_HI_DEBUG_H__
...
...
@@ -21,7 +21,7 @@
#define __PO_HI_DEBUG_LEVEL_NONE 0
#ifndef __PO_HI_DEBUG_LEVEL
#define __PO_HI_DEBUG_LEVEL __PO_HI_DEBUG_LEVEL_
NONE
#define __PO_HI_DEBUG_LEVEL __PO_HI_DEBUG_LEVEL_
CRITICAL
#endif
...
...
@@ -30,28 +30,28 @@
#endif
#if __PO_HI_DEBUG_LEVEL >= __PO_HI_DEBUG_LEVEL_CRITICAL
#define __PO_HI_DEBUG_CRITICAL(s, args...) fprintf(stderr, s, ##args); fflush (stderr);
#define __PO_HI_DEBUG_CRITICAL(s, args...) fprintf(stderr, s, ##args); fflush (stderr);
#else
#define __PO_HI_DEBUG_CRITICAL(s, args...)
#define __PO_HI_DEBUG_CRITICAL(s, args...)
#endif
#if __PO_HI_DEBUG_LEVEL >= __PO_HI_DEBUG_LEVEL_WARNING
#define __PO_HI_DEBUG_WARNING(s, args...) fprintf(stderr, s, ##args); fflush (stderr);
#define __PO_HI_DEBUG_WARNING(s, args...) fprintf(stderr, s, ##args); fflush (stderr);
#else
#define __PO_HI_DEBUG_WARNING(s, args...)
#define __PO_HI_DEBUG_WARNING(s, args...)
#endif
#if __PO_HI_DEBUG_LEVEL >= __PO_HI_DEBUG_LEVEL_DEBUG
#define __PO_HI_DEBUG_DEBUG(s, args...) fprintf(stderr, s, ##args); fflush (stderr);
#define __PO_HI_DEBUG_DEBUG(s, args...) fprintf(stderr, s, ##args); fflush (stderr);
#else
#define __PO_HI_DEBUG_DEBUG(s, args...)
#define __PO_HI_DEBUG_DEBUG(s, args...)
#endif
#if __PO_HI_DEBUG_LEVEL >= __PO_HI_DEBUG_LEVEL_INFO
#define __PO_HI_DEBUG_INFO(s, args...) fprintf(stderr, s, ##args); fflush (stderr);
#define __DEBUGMSG(s, args...) fprintf(stderr, s, ##args); fflush (stderr);
#define __PO_HI_DEBUG_INFO(s, args...) fprintf(stderr, s, ##args); fflush (stderr);
#define __DEBUGMSG(s, args...) fprintf(stderr, s, ##args); fflush (stderr);
#else
#define __PO_HI_DEBUG_INFO(s, args...)
#define __PO_HI_DEBUG_INFO(s, args...)
#define __DEBUGMSG(s, args...)
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment