Changeset 13317 in vbox
- Timestamp:
- Oct 16, 2008 8:03:07 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r13271 r13317 5102 5102 } 5103 5103 5104 5105 #ifndef SUPDRV_WITH_RELEASE_LOGGER5106 # ifndef DEBUG /** @todo change #ifndef DEBUG -> #ifdef LOG_ENABLED */5107 /**5108 * Stub function for non-debug builds.5109 */5110 RTDECL(PRTLOGGER) RTLogDefaultInstance(void)5111 {5112 return NULL;5113 }5114 5115 RTDECL(PRTLOGGER) RTLogRelDefaultInstance(void)5116 {5117 return NULL;5118 }5119 5120 /**5121 * Stub function for non-debug builds.5122 */5123 RTDECL(int) RTLogSetDefaultInstanceThread(PRTLOGGER pLogger, uintptr_t uKey)5124 {5125 return 0;5126 }5127 5128 /**5129 * Stub function for non-debug builds.5130 */5131 RTDECL(void) RTLogLogger(PRTLOGGER pLogger, void *pvCallerRet, const char *pszFormat, ...)5132 {5133 }5134 5135 /**5136 * Stub function for non-debug builds.5137 */5138 RTDECL(void) RTLogLoggerEx(PRTLOGGER pLogger, unsigned fFlags, unsigned iGroup, const char *pszFormat, ...)5139 {5140 }5141 5142 /**5143 * Stub function for non-debug builds.5144 */5145 RTDECL(void) RTLogLoggerExV(PRTLOGGER pLogger, unsigned fFlags, unsigned iGroup, const char *pszFormat, va_list args)5146 {5147 }5148 5149 /**5150 * Stub function for non-debug builds.5151 */5152 RTDECL(void) RTLogPrintf(const char *pszFormat, ...)5153 {5154 }5155 5156 /**5157 * Stub function for non-debug builds.5158 */5159 RTDECL(void) RTLogPrintfV(const char *pszFormat, va_list args)5160 {5161 }5162 # endif /* !DEBUG */5163 #endif /* !SUPDRV_WITH_RELEASE_LOGGER */
Note:
See TracChangeset
for help on using the changeset viewer.