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; \
}

Definition at line 37 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 48 of file LogComponent.h.

yarp::os::Log::TraceType
@ TraceType
Definition: Log.h:77
yarp::os::Log::LogTypeReserved
@ LogTypeReserved
Definition: Log.h:83
yarp::os::impl::LogComponent::print_callback
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: LogComponent.cpp:54
yarp::os::LogComponent
Definition: LogComponent.h:21