Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.6.215 Release
    For Test and Development only

    All Data Structures 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 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...
     

    Enumerations

    enum  dwLoggerVerbosity {
      DW_LOG_VERBOSE = 0x0000 ,
      DW_LOG_DEBUG = 0x1000 ,
      DW_LOG_INFO = 0x2000 ,
      DW_LOG_WARN = 0x3000 ,
      DW_LOG_ERROR = 0x4000 ,
      DW_LOG_SILENT = 0x7000
    }
     Holds the verbosity level. 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...
     
    人人超碰97caoporen国产