|
CPPxDIC
C++ Digital Image Correlation library for fingertip 3D reconstruction
|
Implementation of the CPPxDIC logging facility (see logging.h). More...
#include "logging.h"#include <algorithm>#include <chrono>#include <cstdlib>#include <ctime>#include <iostream>#include <unistd.h>Go to the source code of this file.
Namespaces | |
| namespace | cppxdic |
| DataSerializer - Abstract base class for format-agnostic DIC data I/O. | |
| namespace | cppxdic::log |
Macros | |
| #define | CPPXDIC_ISATTY(fd) ::isatty(fd) |
| #define | CPPXDIC_FILENO(f) ::fileno(f) |
Functions | |
| Level | cppxdic::log::levelFromString (const std::string &s, Level fallback=Level::Info) |
| Parse a level name (case-insensitive): trace, debug, info, warn|warning, error, off. | |
| const char * | cppxdic::log::levelName (Level l) |
| Short, fixed-width display name for a level (e.g. "INFO "). | |
| void | cppxdic::log::setLevel (Level l) |
| Convenience accessors. | |
| bool | cppxdic::log::setFile (const std::string &path) |
| void | cppxdic::log::configureFromOptions (const Options &opts) |
| Apply env vars, then the supplied options (CLI/config), to the singleton. | |
Implementation of the CPPxDIC logging facility (see logging.h).
Definition in file logging.cpp.
| #define CPPXDIC_FILENO | ( | f | ) | ::fileno(f) |
Definition at line 21 of file logging.cpp.
| #define CPPXDIC_ISATTY | ( | fd | ) | ::isatty(fd) |
Definition at line 20 of file logging.cpp.