我增加了打印到标准输出的语句,但是为什么不采用一个更加成熟的日志机制来记录文件上载的时间和地点?
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?
清单4显示了一个小脚本,阅读Solaris的NFS服务器配置文件并以标准输出打印。
Listing 4 shows a small script that reads the NFS server config file of Solaris and prints it to standard output.
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.
应用推荐