创建跟踪日志记录器和消息日志记录器。
把异常添加到跟踪日志记录器(清单3)打印出错误消息和完整的堆栈跟踪。
Adding an exception to the trace logger (Listing 3) prints the error message along with a full stack trace.
跟踪日志记录用纯文本格式记录了一系列跟踪日志记录器事件和消息日志记录器事件。
Trace logs record a sequence of trace and message logger events as plain text. The default trace log format includes several fields, starting with.
应用推荐