Changeset 4860 in vbox for trunk/src/VBox/Additions/common/VBoxGuestLib
- Timestamp:
- Sep 17, 2007 3:45:24 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestLog.h
r4731 r4860 22 22 #if defined(RT_OS_LINUX) 23 23 24 /* Since I don't know the background for the stuff below, I prefer not to change25 it. I don't need it or want it for backdoor logging inside the Linux26 Guest Additions kernel modules though. */24 /* Since I don't know the background for the stuff below, I prefer not to 25 change it. I don't need it or want it for backdoor logging inside the 26 Linux Guest Additions kernel modules though. */ 27 27 # include <VBox/log.h> 28 # define LogRelPrint(a) \29 do { \30 RTLogWriteUser (a, strlen(a)); \31 } while (0)32 33 # define LogRelPrintQuote(a) \34 do { \35 LogRelPrint (#a); \36 } while (0)37 38 # define LogRelPrintFunc(a) \39 do { \40 LogRelPrint (__PRETTY_FUNCTION__); \41 LogRelPrint (": "); \42 LogRelPrint (a); \43 } while (0)44 45 # define LogFunc(a) \46 do { \47 Log(("%s: ", __PRETTY_FUNCTION__)); \48 Log(a); \49 } while (0)50 28 51 29 #else /* RT_OS_LINUX not defined */
Note:
See TracChangeset
for help on using the changeset viewer.