So how do we implement a cross-cutting concern such as logging?
因此,怎样才能实现一个横切关注点,例如日志?
Another basic feature is to be able to apply message mediations such as logging.
另一个基本功能是能够应用消息中介(如日志记录)。
It also performs some additional tasks, such as logging and storing the details for future use.
它也执行一些额外任务,比如记录和存储细节以为将来使用。
You often have concerns -- such as logging, remoting, or security -- that hit many parts of your application.
您经常具有一些会影响到应用程序许多部分的关注点,比如日志记录、远程控制或安全性。
You can use this simple pattern to load plug-ins and provide services to plug-ins (such as logging and configuration).
您可以使用这种简单的模式来加载插件,以及向插件提供服务(例如,日志记录和配置)。
Your indexes should not be on the same drive as the repository, or other high read or write activities, such as logging.
索引不要与存储库放在同一个驱动器上,也不要与其他频繁的读写活动(如日志记录)在同一驱动器上。
Many of the overridable functions deal with user authorization, such as logging in, setting cookies, and notification of different events.
很多可覆盖的函数都会处理用户授权,比如登录、设置cookie以及发送不同事件的通知。
Class loading is sandboxed to each bundle, so dependencies such as logging frameworks can be different between bundles without causing problems.
类加载被沙箱化到每个捆绑包,因此日志记录框架这样的依赖项在捆绑包之间即使不同也不会导致问题。
It refers to the act of cutting across the established divisions of responsibility (such as logging and performance optimization) in a given programming model.
它指的是在一个给定的编程模型中穿越既定的职责部分(比如日志记录和性能优化)的操作。
The proxy server listens on the same protocol as the remote server, but when it gets a request it simply performs the necessary action, such as logging the request.
代理服务器监听和远程服务器相同的协议,但是在收到请求时仅仅执行必要的活动,比如记录请求。
Filters support the basic request processing facilities of servlets and JSP pages, such as logging, performance, security, session-handling, XSLT transformation, and more.
过滤器支持servlet和jsp页面的基本请求处理功能,比如日志记录、性能、安全、会话处理、XSLT转换,等等。
The study of geophysical response, such as logging response, seismic facies, amplitude, frequency and wave impedance, is helpful for recognizing and predicting volcanic rock.
通过对该区中生界火山岩的测井、地震相、振幅、频率、波阻抗等地球物理响应研究,来进行岩性识别和储层预测,进而指导勘探部署。
If you modularize crosscutting concerns, such as logging and transaction management, it becomes possible to add new features to your code without modifying each class individually.
如果对横切关注点(例如日志和事务管理)进行了模块化,那么不用修改每个单独的类,就可以向代码中添加新特性。
Channel filters: filters are components that transparently intercept messages in channels to perform some kind of operation, such as logging, transformation, context manipulation, and so on.
通道过滤器:过滤器是通道中执行某种类型操作的透明的截取消息的组件,例如记录日志、转换、上下文处理等等。
By applying a set of pattern parameters to a pattern instance, you can quickly generate a set of Message Broker artifacts, with common algorithms for aspects such as logging and error handling.
通过将一组模式参数应用到一个模式实例中,您可以快速生成一组MessageBroker工件,它们包含针对日志和错误处理等方面的通用算法。
By applying a set of pattern parameters to a pattern instance, you can quickly generate a set of Message Broker artifacts, with common algorithms for aspects such as logging and error handling.
通过将一组模式参数应用到一个模式实例中,您可以快速生成一组MessageBroker工件,它们包含针对日志和错误处理等方面的通用算法。
应用推荐