消息记录器,用于通过文件和数据库执行记录、跟踪和审计。
Message Logger for logging, tracing, and auditing via files and databases.
甚至当跟踪禁用时,您的代码将在每个跟踪点至少调用一个日志记录器方法。
Even when trace is disabled, your code will call at least one logger method per trace point.
把异常添加到跟踪日志记录器(清单3)打印出错误消息和完整的堆栈跟踪。
Adding an exception to the trace logger (Listing 3) prints the error message along with a full stack trace.
应用推荐