If you now run the test again, both verification points pass, and if you look at the details in the test log, all of the appropriate values are in each request and response XML.
如果现在您再次运行测试,两个校验点都会通过,如果查看测试日志中的细节信息,所有的使用值都在每一个请求和响应XML中。
After you have a reference, simply call either of the log methods and pass the necessary data into the method.
在获得了对象引用之后,简单地调用log方法并向方法中传递必需的数据即可。
The third parameter passed to the WriteAuditEvent method is an open-ended string value that you can use to pass whatever custom data you want to record for a custom log entry.
传递给WriteAuditEvent的第三个参数是个可以随意写任何内容的字符串,我们可以用来传递任何想要纪录到自定义审计实体的日志中的信息。
应用推荐