YARP
Yet Another Robot Platform
LogComponent.h File Reference
#include <yarp/os/api.h>
#include <yarp/os/Log.h>
#include <atomic>
+ Include dependency graph for LogComponent.h:

Go to the source code of this file.

Classes

class  yarp::os::LogComponent
 

Namespaces

 yarp
 The main, catch-all namespace for YARP.
 
 yarp::os
 An interface to the operating system, including Port based communication.
 

Macros

#define YARP_DECLARE_LOG_COMPONENT(name)    extern const yarp::os::LogComponent& name();
 
#define YARP_LOG_COMPONENT(name, ...)
 
#define yCTrace(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, nullptr, component()).trace(__VA_ARGS__)
 
#define yCTraceOnce(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_ONCE_CALLBACK, component()).trace(__VA_ARGS__)
 
#define yCTraceThreadOnce(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADONCE_CALLBACK, component()).trace(__VA_ARGS__)
 
#define yCTraceThrottle(component, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THROTTLE_CALLBACK(period), component()).trace(__VA_ARGS__)
 
#define yCTraceThreadThrottle(component, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADTHROTTLE_CALLBACK(period), component()).trace(__VA_ARGS__)
 
#define yCTraceExternalTime(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, nullptr, component()).trace(__VA_ARGS__)
 
#define yCTraceExternalTimeOnce(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_ONCE_CALLBACK, component()).trace(__VA_ARGS__)
 
#define yCTraceExternalTimeThreadOnce(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADONCE_CALLBACK, component()).trace(__VA_ARGS__)
 
#define yCTraceExternalTimeThrottle(component, externaltime, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THROTTLE_CALLBACK(period), component()).trace(__VA_ARGS__)
 
#define yCTraceExternalTimeThreadThrottle(component, externaltime, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADTHROTTLE_CALLBACK(period), component()).trace(__VA_ARGS__)
 
#define yCDebug(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, nullptr, component()).debug(__VA_ARGS__)
 
#define yCDebugOnce(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_ONCE_CALLBACK, component()).debug(__VA_ARGS__)
 
#define yCDebugThreadOnce(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADONCE_CALLBACK, component()).debug(__VA_ARGS__)
 
#define yCDebugThrottle(component, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THROTTLE_CALLBACK(period), component()).debug(__VA_ARGS__)
 
#define yCDebugThreadThrottle(component, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADTHROTTLE_CALLBACK(period), component()).debug(__VA_ARGS__)
 
#define yCDebugExternalTime(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, nullptr, component()).debug(__VA_ARGS__)
 
#define yCDebugExternalTimeOnce(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_ONCE_CALLBACK, component()).debug(__VA_ARGS__)
 
#define yCDebugExternalTimeThreadOnce(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADONCE_CALLBACK, component()).debug(__VA_ARGS__)
 
#define yCDebugExternalTimeThrottle(component, externaltime, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THROTTLE_CALLBACK(period), component()).debug(__VA_ARGS__)
 
#define yCDebugExternalTimeThreadThrottle(component, externaltime, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADTHROTTLE_CALLBACK(period), component()).debug(__VA_ARGS__)
 
#define yCInfo(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, nullptr, component()).info(__VA_ARGS__)
 
#define yCInfoOnce(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_ONCE_CALLBACK, component()).info(__VA_ARGS__)
 
#define yCInfoThreadOnce(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADONCE_CALLBACK, component()).info(__VA_ARGS__)
 
#define yCInfoThrottle(component, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THROTTLE_CALLBACK(period), component()).info(__VA_ARGS__)
 
#define yCInfoThreadThrottle(component, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADTHROTTLE_CALLBACK(period), component()).info(__VA_ARGS__)
 
#define yCInfoExternalTime(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, nullptr, component()).info(__VA_ARGS__)
 
#define yCInfoExternalTimeOnce(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_ONCE_CALLBACK, component()).info(__VA_ARGS__)
 
#define yCInfoExternalTimeThreadOnce(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADONCE_CALLBACK, component()).info(__VA_ARGS__)
 
#define yCInfoExternalTimeThrottle(component, externaltime, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THROTTLE_CALLBACK(period), component()).info(__VA_ARGS__)
 
#define yCInfoExternalTimeThreadThrottle(component, externaltime, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADTHROTTLE_CALLBACK(period), component()).info(__VA_ARGS__)
 
#define yCWarning(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, nullptr, component()).warning(__VA_ARGS__)
 
#define yCWarningOnce(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_ONCE_CALLBACK, component()).warning(__VA_ARGS__)
 
#define yCWarningThreadOnce(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADONCE_CALLBACK, component()).warning(__VA_ARGS__)
 
#define yCWarningThrottle(component, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THROTTLE_CALLBACK(period), component()).warning(__VA_ARGS__)
 
#define yCWarningThreadThrottle(component, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADTHROTTLE_CALLBACK(period), component()).warning(__VA_ARGS__)
 
#define yCWarningExternalTime(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, nullptr, component()).warning(__VA_ARGS__)
 
#define yCWarningExternalTimeOnce(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_ONCE_CALLBACK, component()).warning(__VA_ARGS__)
 
#define yCWarningExternalTimeThreadOnce(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADONCE_CALLBACK, component()).warning(__VA_ARGS__)
 
#define yCWarningExternalTimeThrottle(component, externaltime, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THROTTLE_CALLBACK(period), component()).warning(__VA_ARGS__)
 
#define yCWarningExternalTimeThreadThrottle(component, externaltime, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADTHROTTLE_CALLBACK(period), component()).warning(__VA_ARGS__)
 
#define yCError(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, nullptr, component()).error(__VA_ARGS__)
 
#define yCErrorOnce(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_ONCE_CALLBACK, component()).error(__VA_ARGS__)
 
#define yCErrorThreadOnce(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADONCE_CALLBACK, component()).error(__VA_ARGS__)
 
#define yCErrorThrottle(component, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THROTTLE_CALLBACK(period), component()).error(__VA_ARGS__)
 
#define yCErrorThreadThrottle(component, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADTHROTTLE_CALLBACK(period), component()).error(__VA_ARGS__)
 
#define yCErrorExternalTime(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, nullptr, component()).error(__VA_ARGS__)
 
#define yCErrorExternalTimeOnce(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_ONCE_CALLBACK, component()).error(__VA_ARGS__)
 
#define yCErrorExternalTimeThreadOnce(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADONCE_CALLBACK, component()).error(__VA_ARGS__)
 
#define yCErrorExternalTimeThrottle(component, externaltime, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THROTTLE_CALLBACK(period), component()).error(__VA_ARGS__)
 
#define yCErrorExternalTimeThreadThrottle(component, externaltime, period, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADTHROTTLE_CALLBACK(period), component()).error(__VA_ARGS__)
 
#define yCFatal(component, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, nullptr, component()).fatal(__VA_ARGS__)
 
#define yCFatalExternalTime(component, externaltime, ...)   yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, nullptr, component()).fatal(__VA_ARGS__)
 
#define yCAssert(component, x)
 
#define yCAssertExternalTime(component, externaltime, x)
 

Macro Definition Documentation

◆ YARP_DECLARE_LOG_COMPONENT

#define YARP_DECLARE_LOG_COMPONENT (   name)     extern const yarp::os::LogComponent& name();

Definition at line 74 of file LogComponent.h.

◆ YARP_LOG_COMPONENT

#define YARP_LOG_COMPONENT (   name,
  ... 
)
Value:
const yarp::os::LogComponent& name() \
{ \
static const yarp::os::LogComponent component(__VA_ARGS__); \
return component; \
}

Definition at line 77 of file LogComponent.h.

◆ yCAssert

#define yCAssert (   component,
 
)
Value:
if (!(x)) { \
yCFatal(component, "Assertion failure at %s:%d (%s)", __FILE__, __LINE__, #x); \
}

Definition at line 169 of file LogComponent.h.

◆ yCAssertExternalTime

#define yCAssertExternalTime (   component,
  externaltime,
 
)
Value:
if (!(x)) { \
yCFatalExternalTime(component, externaltime, "Assertion failure at %s:%d (%s)", __FILE__, __LINE__, #x); \
}

Definition at line 173 of file LogComponent.h.

◆ yCDebug

#define yCDebug (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, nullptr, component()).debug(__VA_ARGS__)

Definition at line 109 of file LogComponent.h.

◆ yCDebugExternalTime

#define yCDebugExternalTime (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, nullptr, component()).debug(__VA_ARGS__)

Definition at line 114 of file LogComponent.h.

◆ yCDebugExternalTimeOnce

#define yCDebugExternalTimeOnce (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_ONCE_CALLBACK, component()).debug(__VA_ARGS__)

Definition at line 115 of file LogComponent.h.

◆ yCDebugExternalTimeThreadOnce

#define yCDebugExternalTimeThreadOnce (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADONCE_CALLBACK, component()).debug(__VA_ARGS__)

Definition at line 116 of file LogComponent.h.

◆ yCDebugExternalTimeThreadThrottle

#define yCDebugExternalTimeThreadThrottle (   component,
  externaltime,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADTHROTTLE_CALLBACK(period), component()).debug(__VA_ARGS__)

Definition at line 118 of file LogComponent.h.

◆ yCDebugExternalTimeThrottle

#define yCDebugExternalTimeThrottle (   component,
  externaltime,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THROTTLE_CALLBACK(period), component()).debug(__VA_ARGS__)

Definition at line 117 of file LogComponent.h.

◆ yCDebugOnce

#define yCDebugOnce (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_ONCE_CALLBACK, component()).debug(__VA_ARGS__)

Definition at line 110 of file LogComponent.h.

◆ yCDebugThreadOnce

#define yCDebugThreadOnce (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADONCE_CALLBACK, component()).debug(__VA_ARGS__)

Definition at line 111 of file LogComponent.h.

◆ yCDebugThreadThrottle

#define yCDebugThreadThrottle (   component,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADTHROTTLE_CALLBACK(period), component()).debug(__VA_ARGS__)

Definition at line 113 of file LogComponent.h.

◆ yCDebugThrottle

#define yCDebugThrottle (   component,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THROTTLE_CALLBACK(period), component()).debug(__VA_ARGS__)

Definition at line 112 of file LogComponent.h.

◆ yCError

#define yCError (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, nullptr, component()).error(__VA_ARGS__)

Definition at line 154 of file LogComponent.h.

◆ yCErrorExternalTime

#define yCErrorExternalTime (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, nullptr, component()).error(__VA_ARGS__)

Definition at line 159 of file LogComponent.h.

◆ yCErrorExternalTimeOnce

#define yCErrorExternalTimeOnce (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_ONCE_CALLBACK, component()).error(__VA_ARGS__)

Definition at line 160 of file LogComponent.h.

◆ yCErrorExternalTimeThreadOnce

#define yCErrorExternalTimeThreadOnce (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADONCE_CALLBACK, component()).error(__VA_ARGS__)

Definition at line 161 of file LogComponent.h.

◆ yCErrorExternalTimeThreadThrottle

#define yCErrorExternalTimeThreadThrottle (   component,
  externaltime,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADTHROTTLE_CALLBACK(period), component()).error(__VA_ARGS__)

Definition at line 163 of file LogComponent.h.

◆ yCErrorExternalTimeThrottle

#define yCErrorExternalTimeThrottle (   component,
  externaltime,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THROTTLE_CALLBACK(period), component()).error(__VA_ARGS__)

Definition at line 162 of file LogComponent.h.

◆ yCErrorOnce

#define yCErrorOnce (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_ONCE_CALLBACK, component()).error(__VA_ARGS__)

Definition at line 155 of file LogComponent.h.

◆ yCErrorThreadOnce

#define yCErrorThreadOnce (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADONCE_CALLBACK, component()).error(__VA_ARGS__)

Definition at line 156 of file LogComponent.h.

◆ yCErrorThreadThrottle

#define yCErrorThreadThrottle (   component,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADTHROTTLE_CALLBACK(period), component()).error(__VA_ARGS__)

Definition at line 158 of file LogComponent.h.

◆ yCErrorThrottle

#define yCErrorThrottle (   component,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THROTTLE_CALLBACK(period), component()).error(__VA_ARGS__)

Definition at line 157 of file LogComponent.h.

◆ yCFatal

#define yCFatal (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, nullptr, component()).fatal(__VA_ARGS__)

Definition at line 165 of file LogComponent.h.

◆ yCFatalExternalTime

#define yCFatalExternalTime (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, nullptr, component()).fatal(__VA_ARGS__)

Definition at line 166 of file LogComponent.h.

◆ yCInfo

#define yCInfo (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, nullptr, component()).info(__VA_ARGS__)

Definition at line 132 of file LogComponent.h.

◆ yCInfoExternalTime

#define yCInfoExternalTime (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, nullptr, component()).info(__VA_ARGS__)

Definition at line 137 of file LogComponent.h.

◆ yCInfoExternalTimeOnce

#define yCInfoExternalTimeOnce (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_ONCE_CALLBACK, component()).info(__VA_ARGS__)

Definition at line 138 of file LogComponent.h.

◆ yCInfoExternalTimeThreadOnce

#define yCInfoExternalTimeThreadOnce (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADONCE_CALLBACK, component()).info(__VA_ARGS__)

Definition at line 139 of file LogComponent.h.

◆ yCInfoExternalTimeThreadThrottle

#define yCInfoExternalTimeThreadThrottle (   component,
  externaltime,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADTHROTTLE_CALLBACK(period), component()).info(__VA_ARGS__)

Definition at line 141 of file LogComponent.h.

◆ yCInfoExternalTimeThrottle

#define yCInfoExternalTimeThrottle (   component,
  externaltime,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THROTTLE_CALLBACK(period), component()).info(__VA_ARGS__)

Definition at line 140 of file LogComponent.h.

◆ yCInfoOnce

#define yCInfoOnce (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_ONCE_CALLBACK, component()).info(__VA_ARGS__)

Definition at line 133 of file LogComponent.h.

◆ yCInfoThreadOnce

#define yCInfoThreadOnce (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADONCE_CALLBACK, component()).info(__VA_ARGS__)

Definition at line 134 of file LogComponent.h.

◆ yCInfoThreadThrottle

#define yCInfoThreadThrottle (   component,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADTHROTTLE_CALLBACK(period), component()).info(__VA_ARGS__)

Definition at line 136 of file LogComponent.h.

◆ yCInfoThrottle

#define yCInfoThrottle (   component,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THROTTLE_CALLBACK(period), component()).info(__VA_ARGS__)

Definition at line 135 of file LogComponent.h.

◆ yCTrace

#define yCTrace (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, nullptr, component()).trace(__VA_ARGS__)

Definition at line 85 of file LogComponent.h.

◆ yCTraceExternalTime

#define yCTraceExternalTime (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, nullptr, component()).trace(__VA_ARGS__)

Definition at line 90 of file LogComponent.h.

◆ yCTraceExternalTimeOnce

#define yCTraceExternalTimeOnce (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_ONCE_CALLBACK, component()).trace(__VA_ARGS__)

Definition at line 91 of file LogComponent.h.

◆ yCTraceExternalTimeThreadOnce

#define yCTraceExternalTimeThreadOnce (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADONCE_CALLBACK, component()).trace(__VA_ARGS__)

Definition at line 92 of file LogComponent.h.

◆ yCTraceExternalTimeThreadThrottle

#define yCTraceExternalTimeThreadThrottle (   component,
  externaltime,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADTHROTTLE_CALLBACK(period), component()).trace(__VA_ARGS__)

Definition at line 94 of file LogComponent.h.

◆ yCTraceExternalTimeThrottle

#define yCTraceExternalTimeThrottle (   component,
  externaltime,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THROTTLE_CALLBACK(period), component()).trace(__VA_ARGS__)

Definition at line 93 of file LogComponent.h.

◆ yCTraceOnce

#define yCTraceOnce (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_ONCE_CALLBACK, component()).trace(__VA_ARGS__)

Definition at line 86 of file LogComponent.h.

◆ yCTraceThreadOnce

#define yCTraceThreadOnce (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADONCE_CALLBACK, component()).trace(__VA_ARGS__)

Definition at line 87 of file LogComponent.h.

◆ yCTraceThreadThrottle

#define yCTraceThreadThrottle (   component,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADTHROTTLE_CALLBACK(period), component()).trace(__VA_ARGS__)

Definition at line 89 of file LogComponent.h.

◆ yCTraceThrottle

#define yCTraceThrottle (   component,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THROTTLE_CALLBACK(period), component()).trace(__VA_ARGS__)

Definition at line 88 of file LogComponent.h.

◆ yCWarning

#define yCWarning (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, nullptr, component()).warning(__VA_ARGS__)

Definition at line 143 of file LogComponent.h.

◆ yCWarningExternalTime

#define yCWarningExternalTime (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, nullptr, component()).warning(__VA_ARGS__)

Definition at line 148 of file LogComponent.h.

◆ yCWarningExternalTimeOnce

#define yCWarningExternalTimeOnce (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_ONCE_CALLBACK, component()).warning(__VA_ARGS__)

Definition at line 149 of file LogComponent.h.

◆ yCWarningExternalTimeThreadOnce

#define yCWarningExternalTimeThreadOnce (   component,
  externaltime,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADONCE_CALLBACK, component()).warning(__VA_ARGS__)

Definition at line 150 of file LogComponent.h.

◆ yCWarningExternalTimeThreadThrottle

#define yCWarningExternalTimeThreadThrottle (   component,
  externaltime,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THREADTHROTTLE_CALLBACK(period), component()).warning(__VA_ARGS__)

Definition at line 152 of file LogComponent.h.

◆ yCWarningExternalTimeThrottle

#define yCWarningExternalTimeThrottle (   component,
  externaltime,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, externaltime, YARP_THROTTLE_CALLBACK(period), component()).warning(__VA_ARGS__)

Definition at line 151 of file LogComponent.h.

◆ yCWarningOnce

#define yCWarningOnce (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_ONCE_CALLBACK, component()).warning(__VA_ARGS__)

Definition at line 144 of file LogComponent.h.

◆ yCWarningThreadOnce

#define yCWarningThreadOnce (   component,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADONCE_CALLBACK, component()).warning(__VA_ARGS__)

Definition at line 145 of file LogComponent.h.

◆ yCWarningThreadThrottle

#define yCWarningThreadThrottle (   component,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THREADTHROTTLE_CALLBACK(period), component()).warning(__VA_ARGS__)

Definition at line 147 of file LogComponent.h.

◆ yCWarningThrottle

#define yCWarningThrottle (   component,
  period,
  ... 
)    yarp::os::Log(__FILE__, __LINE__, __YFUNCTION__, YARP_THROTTLE_CALLBACK(period), component()).warning(__VA_ARGS__)

Definition at line 146 of file LogComponent.h.