xvecLogLevel xvecGetLogLevel(void)
Gets the current runtime log level.
xvecStatus xvecSetLogLevel(xvecLogLevel logLevel)
Sets the minimum log level for runtime filtering.
const char * xvecGetLogLevelColor(xvecLogLevel logLevel)
Gets the ANSI color code for a log level.
const char * xvecGetLogLevelString(xvecLogLevel logLevel)
Gets the string representation of a log level.
xvecLogLevel
Log severity levels.
@ XVEC_LOG_LEVEL_WARN
Warning messages for potential issues.
@ XVEC_LOG_LEVEL_ERROR
Error messages indicating failures.
@ XVEC_LOG_LEVEL_DEBUG
Debug messages for development.
@ XVEC_LOG_LEVEL_INFO
Informational messages.
@ XVEC_LOG_LEVEL_TRACE
Detailed trace messages.
void(* xvecLogSinkFn)(xvecLogLevel logLevel, const char *file, uint32_t line, const char *message, void *userData)
Log sink callback function type.
xvecStatus xvecSetLogSink(xvecLogSinkFn logSink, void *userData)
Sets the log sink callback function.
Core types, enums, and structures for the XVector library.
xvecStatus
Status codes returned by XVector API functions.