A widely adopted mechanism for dealing with failures is exception handling, encompassing both capturing and logging the error and choosing an alternative execution path in the case of failures.
一种被广泛采用的失败处理机制是异常处理,包括捕获并记录错误,以及在失败发生时选择一个备选执行路径。
2
To pinpoint performance problems in the stored procedures by examining execution times of the logging statements.
通过检查日志语句的执行时间来查明存储过程的性能问题。
3
Application logging provides ways to capture various events happening in the execution of an application.