retinify 0.2.0
Real-Time AI Stereo Vision Library
Loading...
Searching...
No Matches
logging.hpp File Reference
#include "retinify/attributes.hpp"
#include "retinify/status.hpp"
#include <cstdint>
#include <source_location>
Include dependency graph for logging.hpp:

Go to the source code of this file.

Namespaces

namespace  retinify
 

Enumerations

enum class  retinify::LogLevel : std::uint8_t {
  retinify::DEBUG , retinify::INFO , retinify::WARN , retinify::ERROR ,
  retinify::FATAL , retinify::OFF
}
 Logging verbosity levels for retinify. More...
 

Functions

RETINIFY_API auto retinify::GetLogLevel () noexcept -> LogLevel
 Returns the current log level.
 
RETINIFY_API void retinify::SetLogLevel (LogLevel level) noexcept
 Sets the log level.
 
RETINIFY_API void retinify::LogDebug (const char *message, std::source_location location=std::source_location::current()) noexcept
 Logs a debug message.
 
RETINIFY_API void retinify::LogInfo (const char *message, std::source_location location=std::source_location::current()) noexcept
 Logs an informational message.
 
RETINIFY_API void retinify::LogWarn (const char *message, std::source_location location=std::source_location::current()) noexcept
 Logs a warning message.
 
RETINIFY_API void retinify::LogError (const char *message, std::source_location location=std::source_location::current()) noexcept
 Logs an error message.
 
RETINIFY_API void retinify::LogFatal (const char *message, std::source_location location=std::source_location::current()) noexcept
 Logs a fatal error message.