YARP
Yet Another Robot Platform
yarp::os::impl::LogPrivate Class Reference

Public Member Functions

 LogPrivate (const char *file, const unsigned int line, const char *func, const double externaltime, const yarp::os::Log::Predicate pred, const LogComponent &comp)
 
void log (yarp::os::Log::LogType type, const char *msg, va_list args) const
 

Static Public Member Functions

static void print_callback (yarp::os::Log::LogType t, const char *msg, const char *file, const unsigned int line, const char *func, double systemtime, double networktime, double externaltime, const char *comp_name)
 
static void forward_callback (yarp::os::Log::LogType t, const char *msg, const char *file, const unsigned int line, const char *func, double systemtime, double networktime, double externaltime, const char *comp_name)
 
static void do_log (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 LogComponent &comp_name)
 
static void call_current_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)
 
static void call_current_forward_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)
 
static const LogComponentlogInternalComponent ()
 

Public Attributes

const char * file
 
const unsigned int line
 
const char * func
 
double systemtime
 
double networktime
 
double externaltime
 
const yarp::os::Log::Predicate pred
 
const LogComponentcomp
 

Static Public Attributes

static std::atomic< bool > yarprun_format
 
static std::atomic< bool > colored_output
 
static std::atomic< bool > verbose_output
 
static std::atomic< bool > compact_output
 
static std::atomic< bool > debug_output
 
static std::atomic< bool > trace_output
 
static std::atomic< bool > forward_output
 
static std::atomic< bool > forward_codeinfo
 
static std::atomic< bool > forward_hostname
 
static std::atomic< bool > forward_processinfo
 
static std::atomic< bool > forward_backtrace
 
static std::atomic< bool > debug_log
 
static std::atomic< yarp::os::Log::LogTypecurrent_minimum_print_level
 
static std::atomic< yarp::os::Log::LogTypecurrent_minimum_forward_level
 
static std::atomic< Log::LogCallbackcurrent_print_callback
 
static std::atomic< Log::LogCallbackcurrent_forward_callback
 
static const yarp::os::LogComponent log_internal_component
 

Detailed Description

Definition at line 56 of file Log.cpp.

Constructor & Destructor Documentation

◆ LogPrivate()

yarp::os::impl::LogPrivate::LogPrivate ( const char *  file,
const unsigned int  line,
const char *  func,
const double  externaltime,
const yarp::os::Log::Predicate  pred,
const LogComponent comp 
)

Definition at line 605 of file Log.cpp.

Member Function Documentation

◆ call_current_forward_callback()

static void yarp::os::impl::LogPrivate::call_current_forward_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 
)
inlinestatic

Definition at line 120 of file Log.cpp.

◆ call_current_print_callback()

static void yarp::os::impl::LogPrivate::call_current_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 
)
inlinestatic

Definition at line 103 of file Log.cpp.

◆ do_log()

void yarp::os::impl::LogPrivate::do_log ( 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 LogComponent comp_name 
)
static

Definition at line 742 of file Log.cpp.

◆ forward_callback()

void yarp::os::impl::LogPrivate::forward_callback ( yarp::os::Log::LogType  t,
const char *  msg,
const char *  file,
const unsigned int  line,
const char *  func,
double  systemtime,
double  networktime,
double  externaltime,
const char *  comp_name 
)
static

Definition at line 660 of file Log.cpp.

◆ log()

void yarp::os::impl::LogPrivate::log ( yarp::os::Log::LogType  type,
const char *  msg,
va_list  args 
) const

Definition at line 680 of file Log.cpp.

◆ logInternalComponent()

static const LogComponent& yarp::os::impl::LogPrivate::logInternalComponent ( )
static

◆ print_callback()

void yarp::os::impl::LogPrivate::print_callback ( yarp::os::Log::LogType  t,
const char *  msg,
const char *  file,
const unsigned int  line,
const char *  func,
double  systemtime,
double  networktime,
double  externaltime,
const char *  comp_name 
)
static

Definition at line 627 of file Log.cpp.

Member Data Documentation

◆ colored_output

std::atomic< bool > yarp::os::impl::LogPrivate::colored_output
static

Definition at line 151 of file Log.cpp.

◆ comp

const LogComponent& yarp::os::impl::LogPrivate::comp

Definition at line 148 of file Log.cpp.

◆ compact_output

std::atomic< bool > yarp::os::impl::LogPrivate::compact_output
static

Definition at line 153 of file Log.cpp.

◆ current_forward_callback

std::atomic< yarp::os::Log::LogCallback > yarp::os::impl::LogPrivate::current_forward_callback
static

Definition at line 170 of file Log.cpp.

◆ current_minimum_forward_level

std::atomic< yarp::os::Log::LogType > yarp::os::impl::LogPrivate::current_minimum_forward_level
static

Definition at line 167 of file Log.cpp.

◆ current_minimum_print_level

std::atomic< yarp::os::Log::LogType > yarp::os::impl::LogPrivate::current_minimum_print_level
static

Definition at line 166 of file Log.cpp.

◆ current_print_callback

std::atomic< yarp::os::Log::LogCallback > yarp::os::impl::LogPrivate::current_print_callback
static

Definition at line 169 of file Log.cpp.

◆ debug_log

std::atomic< bool > yarp::os::impl::LogPrivate::debug_log
static

Definition at line 161 of file Log.cpp.

◆ debug_output

std::atomic< bool > yarp::os::impl::LogPrivate::debug_output
static

Definition at line 154 of file Log.cpp.

◆ externaltime

double yarp::os::impl::LogPrivate::externaltime

Definition at line 146 of file Log.cpp.

◆ file

const char* yarp::os::impl::LogPrivate::file

Definition at line 141 of file Log.cpp.

◆ forward_backtrace

std::atomic< bool > yarp::os::impl::LogPrivate::forward_backtrace
static

Definition at line 160 of file Log.cpp.

◆ forward_codeinfo

std::atomic< bool > yarp::os::impl::LogPrivate::forward_codeinfo
static

Definition at line 157 of file Log.cpp.

◆ forward_hostname

std::atomic< bool > yarp::os::impl::LogPrivate::forward_hostname
static

Definition at line 158 of file Log.cpp.

◆ forward_output

std::atomic< bool > yarp::os::impl::LogPrivate::forward_output
static

Definition at line 156 of file Log.cpp.

◆ forward_processinfo

std::atomic< bool > yarp::os::impl::LogPrivate::forward_processinfo
static

Definition at line 159 of file Log.cpp.

◆ func

const char* yarp::os::impl::LogPrivate::func

Definition at line 143 of file Log.cpp.

◆ line

const unsigned int yarp::os::impl::LogPrivate::line

Definition at line 142 of file Log.cpp.

◆ log_internal_component

const yarp::os::LogComponent yarp::os::impl::LogPrivate::log_internal_component
static

Definition at line 172 of file Log.cpp.

◆ networktime

double yarp::os::impl::LogPrivate::networktime

Definition at line 145 of file Log.cpp.

◆ pred

const yarp::os::Log::Predicate yarp::os::impl::LogPrivate::pred

Definition at line 147 of file Log.cpp.

◆ systemtime

double yarp::os::impl::LogPrivate::systemtime

Definition at line 144 of file Log.cpp.

◆ trace_output

std::atomic< bool > yarp::os::impl::LogPrivate::trace_output
static

Definition at line 155 of file Log.cpp.

◆ verbose_output

std::atomic< bool > yarp::os::impl::LogPrivate::verbose_output
static

Definition at line 152 of file Log.cpp.

◆ yarprun_format

std::atomic< bool > yarp::os::impl::LogPrivate::yarprun_format
static

Definition at line 150 of file Log.cpp.


The documentation for this class was generated from the following file: