#include <yarp/os/Log.h>
Public Types | |
| enum | LogType : uint8_t { LogTypeUnknown = 0 , TraceType , DebugType , InfoType , WarningType , ErrorType , FatalType , LogTypeReserved = 0xFF } |
| using | Predicate = bool(*)() |
| using | LogCallback = void(*)(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 Public Member Functions | |
| static std::mutex * | getLogMutex () |
| static void | setMinimumPrintLevel (LogType level) |
| Set current minimum print level. | |
| static LogType | minimumPrintLevel () |
| Get current minimum print level. | |
| static LogType | defaultMinimumPrintLevel () |
| Get default minimum print level. | |
| static void | setMinimumForwardLevel (LogType level) |
| Set current minimum forward level (it does nothing if forwarding is not enabled) | |
| static LogType | minimumForwardLevel () |
| Get current minimum forward level (or LogTypeReserved if forwarding is not enabled) | |
| static LogType | defaultMinimumForwardLevel () |
| Get default minimum forward level (or LogTypeReserved if forwarding is not enabled) | |
| static void | setPrintCallback (LogCallback) |
| Set current print callback. | |
| static LogCallback | printCallback () |
| Get current print callback. | |
| static LogCallback | defaultPrintCallback () |
| Get default print callback. | |
| static void | setForwardCallback (LogCallback) |
| Set current forward callback (it does nothing if forwarding is not enabled) | |
| static LogCallback | forwardCallback () |
| Get current forward callback (or nullptr if forwarding is not enabled) | |
| static LogCallback | defaultForwardCallback () |
| Get default forward callback (or nullptr if forwarding is not enabled) | |
| using yarp::os::Log::Predicate = bool(*)() |
| yarp::os::LogStream yarp::os::Log::debug | ( | ) | const |
|
static |
|
static |
|
static |
|
static |
| yarp::os::LogStream yarp::os::Log::error | ( | ) | const |
| yarp::os::LogStream yarp::os::Log::fatal | ( | ) | const |
|
static |
|
inlinestatic |
| yarp::os::LogStream yarp::os::Log::info | ( | ) | const |
|
static |
|
static |
|
static |
|
static |
|
static |
| yarp::os::LogStream yarp::os::Log::trace | ( | ) | const |
| yarp::os::LogStream yarp::os::Log::warning | ( | ) | const |