Face Engine SDK  4.6.0
A face detection, recognition and tracking engine.
Log.h
Go to the documentation of this file.
1 
8 #pragma once
9 #include <fsdk/Def.h>
10 
11 namespace fsdk{
12  namespace log {
13 
17  using PrintFunction = void (*)(int severity, const char* message);
18 
22  enum Severity
23  {
28 
29 #ifndef NDEBUG
31 #else
33 #endif
34  };
35 
43  void FSDK_API setPrintFunction(PrintFunction function) noexcept;
44 
49  FSDK_API PrintFunction getPrintFunction() noexcept;
50 
55  FSDK_API PrintFunction getDefaultPrintFunction() noexcept;
56 
64  FSDK_API void restorePrintFunction() noexcept;
65  }
66 }
#define FSDK_API
Dummy.
Definition: Def.h:27
SDK namespace.
Definition: IAGSEstimator.h:8
Severity
Log message severity enumeration.
Definition: Log.h:22
Recoverable error / non-critical issue.
Definition: Log.h:25
Common SDK definitions.
Generic information.
Definition: Log.h:26
Critical error.
Definition: Log.h:24
Extended (debugging) information (verbose).
Definition: Log.h:27
void(*)(int severity, const char *message) PrintFunction
Custom print function type.
Definition: Log.h:17
Default severity.
Definition: Log.h:30