您可以保存或甚至打印这些日志消息。
我增加了打印到标准输出的语句,但是为什么不采用一个更加成熟的日志机制来记录文件上载的时间和地点?
I added statements to print to standard out, but why not use a more sophisticated logging mechanism to keep track of which files have been uploaded and when?
为了简单起见,我们说我们向标准输出打印了一个日志消息。
For simplicity, we will say that we print a logging message to the standard output.
缺省情况下,此脚本会将输出打印到提示处,不过您可以方便地通过管道命令使用此输出创建另一个日志文件。
By default, this script will print the output to the prompt, but you can easily pipe this out to create another log file.
默认情况下,CXF打印大量令人不悦的日志细节并输出到控制台。
By default, CXF prints out an obnoxious amount of logging details to the console.
此方法将把日志消息打印到GWT托管模式的shell窗口中。
This method prints a log message to the shell window for GWT hosted mode.
如果任何一个测试失败,就会有一个适当的消息都会通过调用purify _ printf打印在purify控制台或者日志中。
If any of the tests fail, an appropriate message is printed in the purify console or log by calling purify_printf.
对stop方法的调用记录了执行时间并打印日志信息。
The call to the stop method records the execution time and prints a log message.
第三个存储过程是DB 2 . GET _ SP_LOG,它可以打印日志文件的内容。
The third Stored Procedure DB2.GET_SP_LOG prints the contents of the log file.
LoggingStopWatch类用于在代码中添加计时语句并打印到标准输出或者日志文件中。
The org.perf4j.LoggingStopWatch class is used to add timing statements to code and print those statements to an output stream or log file.
与打印输出相关的数据库指示消息日志记录器元素已执行,并且System. out消息来自MDB。
The database related printouts indicate that the message logger primitive has executed and the System.out messages come from the MDB.
大部分的Linux系统会启动sshd(安全Shell服务)、syslog(系统日志工具)和lpd(打印服务),但还会有更多的服务需要启动。
Most Linux systems will start SSHD (the SecureShell service), syslog (system logging facility), and LPD (printing service), but there could be many more.
把异常添加到跟踪日志记录器(清单3)打印出错误消息和完整的堆栈跟踪。
Adding an exception to the trace logger (Listing 3) prints the error message along with a full stack trace.
正如在客户端的使用中所提到的,构建过程会配置CXF日志记录,以避免运行示例客户端时打印配置细节。
As mentioned in Client-side usage, the build configures CXF logging to avoid printing configuration details when running the sample client.
完成日志文件的打印。
它由两个程序组成?第一个来发布日志消息,第二个来接收并打印这些消息。
It will consist of two programs — the first will emit log messages and the second will receive and print them.
在本例中,第一个日志消息将会打印nan,而第二个将会打印a 1,2。
In this case, the first log message would print NaN, while the second would print A1, 2.
例如,我们可以仅指示存储致命错误消息到日志文件(存储到硬盘),然而仍然可以在控制台打印所有消息。
For example, we will be able to direct only critical error messages to the log file (to save disk space), while still being able to print all of the log messages on the console.
举例来说,附加peekStage,它将打印director日志中的Web服务响应。
For the example, attach Peek Stage, which prints the Web service response in the director log.
每次执行一个预先编译的方法时,都会打印一份日志记录消息。
A log message is printed each time a precompiled method is executed. The output from this option is similar to the following.
举例来说,使用PeekStage,它将打印director日志中的Web服务响应,如图10所示。
For the example, use a Peek Stage, which prints the Web service response in the director log, as shown in Figure 10.
内核的日志是通过printk函数实现的,它与用户空间对应函数printf(按格式打印)具有相似的作用。
Logging within the kernel is performed using the printk function, which shares similarity with its user space counterpart, printf (print formatted).
显然,由于它们是变量中的值,您可以轻松地将result对象的内容记录入日志,或者在GUI中显示,不管怎么样,不是仅仅打印到STDOUT。
Obviously, since they are values in variables, you could easily log the contents of the result object, send them as e-mail, display them in a GUI, or whatever, rather than simply print to STDOUT.
可变数据,包括日志文件及打印池。
如何打印输出路由到SQL日志文件?
测试完毕后,系统会自动生成测试日志,根据用户需求生成出所有模块的测试报表供参考,用户也可打印出每个模块的详细测试结果报表加以对比和分析。
Having the special design which are the interface for other algorithm and input the key. After testing, the system can mimeograph the testing table and log for user refer and compare.
它将打印错误日志的理由。
它将打印错误日志的理由。
应用推荐