#include <yarp/os/api.h>
#include <iosfwd>
Go to the source code of this file.
|
| yarp |
| The main, catch-all namespace for YARP.
|
|
| yarp::os |
| An interface to the operating system, including Port based communication.
|
|
|
#define | __YFUNCTION__ "(unknown function)" |
|
#define | YARP_ATTRIBUTE_FORMAT(style, fmt, args) |
|
#define | yTrace yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__).trace |
|
#define | yDebug yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__).debug |
|
#define | yInfo yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__).info |
|
#define | yWarning yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__).warning |
|
#define | yError yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__).error |
|
#define | yFatal yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__).fatal |
|
#define | yAssert(x) |
|
#define | YARP_FIXME_NOTIMPLEMENTED(what) yWarning("FIXME: %s not yet implemented", what); |
|
|
void | yarp_print_trace (FILE *out, const char *file, int line) |
| Low level function for printing a stack trace, if implemented (ACE or gcc/Linux). More...
|
|
◆ __YFUNCTION__
#define __YFUNCTION__ "(unknown function)" |
Definition at line 23 of file Log.h.
◆ YARP_ATTRIBUTE_FORMAT
#define YARP_ATTRIBUTE_FORMAT |
( |
|
style, |
|
|
|
fmt, |
|
|
|
args |
|
) |
| |
Definition at line 33 of file Log.h.
◆ YARP_FIXME_NOTIMPLEMENTED
#define YARP_FIXME_NOTIMPLEMENTED |
( |
|
what | ) |
yWarning("FIXME: %s not yet implemented", what); |
◆ yAssert
Value:if (!(x)) { \
yFatal("Assertion failure at %s:%d (%s)", __FILE__, __LINE__, #x); \
}
Definition at line 112 of file Log.h.
◆ yDebug
◆ yError
◆ yFatal
◆ yInfo
◆ yTrace
◆ yWarning
◆ yarp_print_trace()
void yarp_print_trace |
( |
FILE * |
out, |
|
|
const char * |
file, |
|
|
int |
line |
|
) |
| |
Low level function for printing a stack trace, if implemented (ACE or gcc/Linux).
Definition at line 421 of file Log.cpp.