YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::os::impl::LogPrivate Class Reference

Public Member Functions

 LogPrivate (const char *file, const unsigned int line, const char *func, const char *id, 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, const char *id)
 
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, const char *id)
 
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, const std::string_view id)
 
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, const char *id)
 
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, const char *id)
 
static const LogComponentlogInternalComponent ()
 

Public Attributes

const charfile
 
const unsigned int line
 
const charfunc
 
double systemtime
 
double networktime
 
double externaltime
 
const yarp::os::Log::Predicate pred
 
const LogComponentcomp
 
const charid
 

Static Public Attributes

static std::atomic< boolyarprun_format
 
static std::atomic< boolcolored_output
 
static std::atomic< boolverbose_output
 
static std::atomic< boolcompact_output
 
static std::atomic< booldebug_output
 
static std::atomic< booltrace_output
 
static std::atomic< boolforward_output
 
static std::atomic< boolforward_codeinfo
 
static std::atomic< boolforward_hostname
 
static std::atomic< boolforward_processinfo
 
static std::atomic< boolforward_backtrace
 
static std::atomic< booldebug_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 50 of file Log.cpp.

Constructor & Destructor Documentation

◆ LogPrivate()

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

Definition at line 628 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,
const char id 
)
inlinestatic

Definition at line 119 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,
const char id 
)
inlinestatic

Definition at line 101 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,
const std::string_view  id 
)
static

Definition at line 769 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,
const char id 
)
static

Definition at line 686 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 707 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,
const char id 
)
static

Definition at line 652 of file Log.cpp.

Member Data Documentation

◆ colored_output

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

Definition at line 152 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 154 of file Log.cpp.

◆ current_forward_callback

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

Definition at line 171 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 168 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 167 of file Log.cpp.

◆ current_print_callback

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

Definition at line 170 of file Log.cpp.

◆ debug_log

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

Definition at line 162 of file Log.cpp.

◆ debug_output

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

Definition at line 155 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 161 of file Log.cpp.

◆ forward_codeinfo

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

Definition at line 158 of file Log.cpp.

◆ forward_hostname

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

Definition at line 159 of file Log.cpp.

◆ forward_output

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

Definition at line 157 of file Log.cpp.

◆ forward_processinfo

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

Definition at line 160 of file Log.cpp.

◆ func

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

Definition at line 143 of file Log.cpp.

◆ id

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

Definition at line 149 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 173 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 156 of file Log.cpp.

◆ verbose_output

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

Definition at line 153 of file Log.cpp.

◆ yarprun_format

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

Definition at line 151 of file Log.cpp.


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