YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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

namespace  yarp
 The main, catch-all namespace for YARP.
 
namespace  yarp::os
 An interface to the operating system, including Port based communication.
 
namespace  yarp::os::impl
 The components from which ports and connections are built.
 
namespace  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)
 
yarp::os::Log::LogType yarp::os::impl::LogComponent::minimumLogType ()
 
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:98
static LogCallback defaultPrintCallback()
Get default print callback.
Definition Log.cpp:878
yarp::os::Log::LogType minimumLogType()

Definition at line 29 of file LogComponent.h.

◆ YARP_OS_NON_CONST_LOG_COMPONENT

#define YARP_OS_NON_CONST_LOG_COMPONENT (   name,
  name_string 
)
Value:

Definition at line 40 of file LogComponent.h.