NVIDIA DriveWorks API: Core Warp Primitives
Description: This file defines DW core warp primitives.
Definition in file Logger.h.
Go to the source code of this file.
Data Structures | |
struct | dwLoggerMessage |
Typedefs | |
typedef struct dwContextObject const * | dwConstContextHandle_t |
typedef struct dwContextObject * | dwContextHandle_t |
typedef void(* | dwLogCallback) (dwContextHandle_t context, dwLoggerVerbosity type, char8_t const *msg) |
Defines a user callback method called by the SDK to log the output. More... | |
typedef void(* | dwLoggerCallback) (dwLoggerMessage const *msg) |
Defines a user callback method called by the SDK to log the output with meta-data. More... | |
Functions | |
DW_API_PUBLIC dwStatus | dwLogger_enableTimestamps (bool const enabled) |
Enable or disable logging of timestamps before each message. More... | |
DW_API_PUBLIC dwStatus | dwLogger_initialize (dwLogCallback msgCallback) |
Creates a new logger instance. More... | |
DW_API_PUBLIC dwStatus | dwLogger_initializeExtended (dwLoggerCallback msgCallback) |
Creates a new logger instance that provides meta-data with the message. More... | |
DW_API_PUBLIC dwStatus | dwLogger_log (dwConstContextHandle_t const context, dwLoggerVerbosity const verbosity, char8_t const *const msg) |
Logs message. More... | |
DW_API_PUBLIC dwStatus | dwLogger_logExtended (const dwLoggerMessage *msg) |
Logs message. More... | |
DW_API_PUBLIC dwStatus | dwLogger_release (void) |
Release logger instance and free up used memory. More... | |
DW_API_PUBLIC dwStatus | dwLogger_setLogLevel (dwLoggerVerbosity const verbosity) |
Sets the verbosity level of the logger instance. More... | |
DW_API_PUBLIC dwStatus | dwLogger_setThreadId (char8_t const *threadId) |
Set the name of the current thread that will be returned when using extended logger. More... | |