ACE调试信息的输出
2010-01-30 09:55
381 查看
/** 00470 * Format a message to the thread-safe ACE logging mechanism. Valid 00471 * options (prefixed by '%', as in printf format strings) include: 00472 * - 'A': print an ACE_timer_t value (which could be either double 00473 * or ACE_UINT32.) 00474 * - 'a': abort the program at this point abruptly. 00475 * - 'c': print a character 00476 * - 'C': print a character string 00477 * - 'i', 'd': print a decimal number 00478 * - 'I': indent according to nesting depth (obtained from 00479 * ACE_Trace::get_nesting_indent()). 00480 * - 'e', 'E', 'f', 'F', 'g', 'G': print a double 00481 * - 'l': print line number where an error occurred. 00482 * - 'M': print the name of the priority of the message. 00483 * - 'm': return the message corresponding to errno value, e.g., as 00484 * done by strerror() 00485 * - 'N': print file name where the error occurred. 00486 * - 'n': print the name of the program (or "<unknown>" if not set) 00487 * - 'o': print as an octal number 00488 * - 'P': print out the current process id 00489 * - 'p': print out the appropriate errno message from sys_errlist, 00490 * e.g., as done by perror() 00491 * - 'Q': print out the uint64 number 00492 * - 'q': print out the int64 number 00493 * - '@': print a void* pointer (in hexadecimal) 00494 * - 'r': call the function pointed to by the corresponding argument 00495 * - 'R': print return status 00496 * - 'S': print out the appropriate _sys_siglist entry corresponding 00497 * to var-argument. 00498 * - 's': print out a character string 00499 * - 'T': print timestamp in hour:minute:sec:usec format. 00500 * - 'D': print timestamp in month/day/year hour:minute:sec:usec format. 00501 * - 't': print thread id (1 if single-threaded) 00502 * - 'u': print as unsigned int 00503 * - 'w': prints a wide character 00504 * - 'W': print a wide character string 00505 * - 'x': print as a hex number 00506 * - 'X': print as a hex number 00507 * - 'z': print an ACE_OS::WChar character 00508 * - 'Z': print an ACE_OS::WChar character string 00509 * - '%': print out a single percent sign, '%' 00510 */ from: http://www.aoc.nrao.edu/php/tjuerges/ALMA/ACE-5.5.2/html/ace/Log__Msg_8h-source.html for example: ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("process_xxxx '%s'/n"), ACE_TEXT("entering"))); ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("process_xxxx Find it '%W'/n"), fd.cFileName)); // wide string
相关文章推荐
- MFC 利用控制台输出调试信息(转)
- VC调试信息的输出
- 存储过程输出调试信息
- [AS3]Flash小型日志信息输出器(调试)
- VC2010 MFC中实现printf调试功能,即MFC程序利用控制台输出调试信息
- VC MFC如何使用Console输出调试信息..
- 华为手机在开发Android调试时logcat不显示输出信息的解决办法
- MFC利用控制台输出调试信息的方法
- 在MFC,Win32程序中向控制台(Console)窗口输出调试信息
- symbian 利用蓝牙串口服务输出调试信息
- wince 串口调试信息输出
- 输出错误信息和调试信息
- 华为手机在开发Android调试时logcat不显示输出信息的解决办法
- firebug 输出调试信息
- [Android 调试] LogCat中不输出任何的信息
- ofbiz在groovy中输出日志信息,便于调试。
- Android笔记:真机调试无法输出Log 信息的问题
- C++ 开发中自定义调试信息的输出方法
- 在 .NET 程序中启用调试信息输出
- 【原创】Android开发使用华为手机调试logcat没有应用输出信息