Face Engine SDK  4.6.0
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Log.h File Reference

Log interfaces. More...

#include <fsdk/Def.h>

Go to the source code of this file.

Namespaces

 fsdk
 SDK namespace.
 

Typedefs

using fsdk::log::PrintFunction = void(*)(int severity, const char *message)
 Custom print function type.
 

Enumerations

enum  Severity {
  fsdk::log::SV_ERROR =1, fsdk::log::SV_WARN, fsdk::log::SV_INFO, fsdk::log::SV_DEBUG,
  fsdk::log::SV_DEFAULT = SV_DEBUG
}
 Log message severity enumeration.
 

Functions

void FSDK_API fsdk::log::setPrintFunction (PrintFunction function) noexcept
 Set print function pointer. Default function is made thread-safe with function-local mutex. It means that if you provide your custom print function it's your duty to make it thread safe or not thread safe. More...
 
FSDK_API PrintFunction fsdk::log::getPrintFunction () noexcept
 Get print function pointer. More...
 
FSDK_API PrintFunction fsdk::log::getDefaultPrintFunction () noexcept
 Get default print function pointer. Is thread-safe. More...
 
FSDK_API void fsdk::log::restorePrintFunction () noexcept
 Helper function to restore default print function. This is equivalent to: More...
 

Detailed Description

Log interfaces.

Date
20.02.2018