Even when trace is disabled, your code will call at least one logger method per trace point.
甚至当跟踪禁用时,您的代码将在每个跟踪点至少调用一个日志记录器方法。
Productivity takes a hit because of the intervention of management at every point in the workflow, but this is acceptable when one considers the risk inherent in the alternative luck method.
生成效率会有间歇式的停止,因为在工作流程的每一点上都会有管理的干预,但是当考虑到幸运方法内在的风险,这点还是可以接受的。
One is not checking the parameters coming in, even though you know at this point that a parameter in a certain state will cause an exception in your method.
第一,没有检查输入的参数,即使知道处于某些状态的参数会造成方法出现异常。
应用推荐