Face Engine SDK  5.23.1
A face detection, recognition and tracking engine.
include/fsdk/Log.h File Reference

Log interfaces.

More...

#include <fsdk/Def.h>

Go to the source code of this file.

Namespaces

namespace  fsdk
 

SDK namespace.


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

FSDK_API void 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.
FSDK_API PrintFunction fsdk::log::getPrintFunction () noexcept
 Get print function pointer.
FSDK_API PrintFunction fsdk::log::getDefaultPrintFunction () noexcept
 Get default print function pointer. Is thread-safe.
FSDK_API void fsdk::log::restorePrintFunction () noexcept
 Helper function to restore default print function. This is equivalent to:
FSDK_API void fsdk::log::setSeverityFilter (int severity) noexcept
 Sets severity logging filter.
FSDK_API int fsdk::log::getSeverityFilter () noexcept
 Get log severity filter.

Detailed Description

Log interfaces.

Date:
20.02.2018
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines