• <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.20.37 Release
    For Test and Development only

    All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    Logger.h File Reference

    Detailed Description

    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
     The Driveworks context handle. More...
     
    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_getLogLevel (dwLoggerVerbosity *verbosity)
     Gets the verbosity level of the logger instance. 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...
     
    人人超碰97caoporen国产