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

#include <yarp/os/impl/LogImpl.h>

Detailed Description

Definition at line 14 of file LogImpl.h.

Public Member Functions

 LogImpl (const char *file, const unsigned int line, const char *func)
 

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)
 
static void forward_callback (yarp::os::Log::LogType t, const char *msg, const char *file, const unsigned int line, const char *func)
 

Public Attributes

const char * file
 
const unsigned int line
 
const char * func
 

Static Public Attributes

static std::ofstream ftrc
 
static std::ofstream fout
 Used by yTrace() More...
 
static std::ofstream ferr
 Used by yDebug() and yInfo() More...
 
static bool colored_output
 Used by yWarning(), yError() and yFatal() More...
 
static bool verbose_output
 
static bool trace_output
 
static bool debug_output
 
static bool forward_output
 

Constructor & Destructor Documentation

◆ LogImpl()

yarp::os::impl::LogImpl::LogImpl ( const char *  file,
const unsigned int  line,
const char *  func 
)

Definition at line 77 of file Log.cpp.

Member Function Documentation

◆ forward_callback()

void yarp::os::impl::LogImpl::forward_callback ( yarp::os::Log::LogType  t,
const char *  msg,
const char *  file,
const unsigned int  line,
const char *  func 
)
static

Definition at line 145 of file Log.cpp.

◆ print_callback()

void yarp::os::impl::LogImpl::print_callback ( yarp::os::Log::LogType  t,
const char *  msg,
const char *  file,
const unsigned int  line,
const char *  func 
)
static

Definition at line 87 of file Log.cpp.

Member Data Documentation

◆ colored_output

bool yarp::os::impl::LogImpl::colored_output
static

Used by yWarning(), yError() and yFatal()

Definition at line 41 of file LogImpl.h.

◆ debug_output

bool yarp::os::impl::LogImpl::debug_output
static

Definition at line 44 of file LogImpl.h.

◆ ferr

std::ofstream yarp::os::impl::LogImpl::ferr
static

Used by yDebug() and yInfo()

Definition at line 39 of file LogImpl.h.

◆ file

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

Definition at line 33 of file LogImpl.h.

◆ forward_output

bool yarp::os::impl::LogImpl::forward_output
static

Definition at line 45 of file LogImpl.h.

◆ fout

std::ofstream yarp::os::impl::LogImpl::fout
static

Used by yTrace()

Definition at line 38 of file LogImpl.h.

◆ ftrc

std::ofstream yarp::os::impl::LogImpl::ftrc
static

Definition at line 37 of file LogImpl.h.

◆ func

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

Definition at line 35 of file LogImpl.h.

◆ line

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

Definition at line 34 of file LogImpl.h.

◆ trace_output

bool yarp::os::impl::LogImpl::trace_output
static

Definition at line 43 of file LogImpl.h.

◆ verbose_output

bool yarp::os::impl::LogImpl::verbose_output
static

Definition at line 42 of file LogImpl.h.


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