37 RDebug::Print( a ); |
37 RDebug::Print( a ); |
38 |
38 |
39 #define DRMLOG2( a, b ) \ |
39 #define DRMLOG2( a, b ) \ |
40 RFileLogger::WriteFormat(_L("drm"), DRMFLOGFILE, EFileLoggingModeAppend, a, b); \ |
40 RFileLogger::WriteFormat(_L("drm"), DRMFLOGFILE, EFileLoggingModeAppend, a, b); \ |
41 RDebug::Print( a, b ); |
41 RDebug::Print( a, b ); |
|
42 |
|
43 #define DRMLOG6( a, b, c, d, e, f ) \ |
|
44 RFileLogger::WriteFormat(_L("drm"), DRMFLOGFILE, EFileLoggingModeAppend, a, b, c, d, e, f); \ |
|
45 RDebug::Print( a, b, c, d, e, f ); |
|
46 |
|
47 #define DRMLOG7( a, b, c, d, e, f, g ) \ |
|
48 RFileLogger::WriteFormat(_L("drm"), DRMFLOGFILE, EFileLoggingModeAppend, a, b, c, d, e, f, g); \ |
|
49 RDebug::Print( a, b, c, d, e, f, g ); |
42 |
50 |
43 #define DRMLOGHEX( a ) \ |
51 #define DRMLOGHEX( a ) \ |
44 RFileLogger::HexDump(_L("drm"), DRMFLOGFILE, EFileLoggingModeAppend, _S(""), _S(""), (a).Ptr(), (a).Size()); |
52 RFileLogger::HexDump(_L("drm"), DRMFLOGFILE, EFileLoggingModeAppend, _S(""), _S(""), (a).Ptr(), (a).Size()); |
45 |
53 |
46 #else |
54 #else |
47 |
55 |
48 #define DRMLOG( a ) |
56 #define DRMLOG( a ) |
49 #define DRMLOG2( a, b ) |
57 #define DRMLOG2( a, b ) |
|
58 #define DRMLOG6( a, b, c, d, e, f ) |
|
59 #define DRMLOG7( a, b, c, d, e, f, g ) |
50 #define DRMLOGHEX( a ) |
60 #define DRMLOGHEX( a ) |
51 |
61 |
52 #endif // _DEBUG |
62 #endif // _DEBUG |
53 |
63 |
54 // DATA TYPES |
64 // DATA TYPES |