将一个请求封装为一个对象,从而使你可用不同的请求对客户进行参数化;对请求排队或记录请求日志,以及支持可撤销的操作。
Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations.
您可能还希望仅对请求的随机部分进行详细的日志记录,并从那里进行推断。
You may also want to only do detailed logging on a random fraction of requests and extrapolate from there.
不要将请求日志记录用于其他目的,比如一般管理。
Do not use request logging for other purposes, such as general administration.
应用推荐