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

Go to the source code of this file.

Namespaces

 yarp
 The main, catch-all namespace for YARP.
 
 yarp::os
 An interface to the operating system, including Port based communication.
 
 yarp::os::impl
 The components from which ports and connections are built.
 
 yarp::os::impl::LogComponent
 

Macros

#define YARP_OS_LOG_COMPONENT(name, name_string)
 
#define YARP_OS_NON_CONST_LOG_COMPONENT(name, name_string)
 

Functions

void yarp::os::impl::LogComponent::print_callback (yarp::os::Log::LogType type, const char *msg, const char *file, const unsigned int line, const char *func, double systemtime, double networktime, double externaltime, const char *comp_name)
 
void yarp::os::impl::LogComponent::setMinumumLogType (yarp::os::Log::LogType minumumLogType)
 

Macro Definition Documentation

◆ YARP_OS_LOG_COMPONENT

#define YARP_OS_LOG_COMPONENT (   name,
  name_string 
)
Value:
const yarp::os::LogComponent& name() \
{ \
static const yarp::os::LogComponent component(name_string, \
nullptr); \
return component; \
}
@ LogTypeReserved
Definition: Log.h:80
@ TraceType
Definition: Log.h:74
void print_callback(yarp::os::Log::LogType type, const char *msg, const char *file, const unsigned int line, const char *func, double systemtime, double networktime, double externaltime, const char *comp_name)

Definition at line 34 of file LogComponent.h.

◆ YARP_OS_NON_CONST_LOG_COMPONENT

#define YARP_OS_NON_CONST_LOG_COMPONENT (   name,
  name_string 
)
Value:
{ \
static yarp::os::LogComponent component(name_string, \
nullptr); \
return component; \
}

Definition at line 45 of file LogComponent.h.