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.
索引不要与存储库放在同一个驱动器上,也不要与其他频繁的读写活动(如日志记录)在同一驱动器上。
They may provide a service such as logging or piece functionality available in the user interface (UI), such as an editor.
它们可以提供服务(比如日志)或可用于用户界面(UI)的功能,比如编辑器。
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.
类加载被沙箱化到每个捆绑包,因此日志记录框架这样的依赖项在捆绑包之间即使不同也不会导致问题。
System services such as logging, transaction management, and security frequently find their way into components whose core responsibility is something else.
系统服务(例如日志、事务管理和安全性)经常发现自己跑到了别的组件的领域里,而这些组件的核心职责是其他事情。
It refers to the act of cutting across the established divisions of responsibility (such as logging and performance optimization) in a given programming model.
它指的是在一个给定的编程模型中穿越既定的职责部分(比如日志记录和性能优化)的操作。
Flexible: the application of filters to a Web processing environment is broad, covering many of the most common auxiliary's tasks such as logging and security.
灵活的:过滤器在Web处理环境中的应用很广泛,涵盖诸如日志记录和安全等许多最公共的辅助任务。
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.
通道过滤器:过滤器是通道中执行某种类型操作的透明的截取消息的组件,例如记录日志、转换、上下文处理等等。
These ESB products generally have additional value as they can tie together a number of Web services from across an organization and provide functionality such as logging and message queuing.
通常这些ESB产品还有附加功能,比如它们可以将跨机构的很多Web服务捆绑在一起并提供诸如登录和消息排队这样的功能。
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工件,它们包含针对日志和错误处理等方面的通用算法。
Improve quality through asset reuse and common implementation of functions such as error handling and logging.
通过资产重用和实现常见的功能(比如错误处理和日志记录)改进质量。
The logging should be switchable to multiple levels of detail and should enable correlation of tracing information across systems, such as via the logging of accurate timestamps or header identifiers.
日志记录应当可转换为多种详细程度,而且应当使跨系统的跟踪信息具有相关性,例如通过记录准确时间戳或者报头标识符。
Note that the diagram shows no extraneous information, such as debug logging.
请注意关系图中没有显示外部信息,如调试日志记录等。
Do not use request logging for other purposes, such as general administration.
不要将请求日志记录用于其他目的,比如一般管理。
With an influx of businessmen and other officials from China engaged in infrastructure projects such as road building and logging, the slaughter is expected to accelerate.
随着中国生意人与从事基建项目(如建造公路与林业)的其他官员的流入,猎杀事件还将出现增多。
In addition, it provides functions such as message logging, augmenting messages with data from a database, and error processing that is tailored to your requirements.
此外,它还提供了一些其他的功能,如消息记录、使用数据库中的数据扩充消息、以及根据您的需要定制错误处理。
Other instances in which this pattern is useful include logging and printing, such as when you want only one instance of a class to access and control one particular printer at a time.
在其他实例中,此模式也是有用的,包括登录和打印,例如,当您想要一个能够每次访问并控制一个特别打印机的类实例。
You don't need to include any non-functional primitives, such as ones that do logging, as long as they don't change the message type.
只要原语不更改消息类型,您无需包括进任何非功能性的原语,比如进行日志记录的那些原语。
It also describes programming constructs and technologies, such as those used for persistence, distribution, security, and logging.
它还描述了程序设计构想及技术,例如那些用于持久性、分布、安全,及记录的内容。
Some examples include personalization, utility, and reporting services supported by standards such as JSR-47, which defines a standard logging API for error and trace logs.
比如jsr - 47这类标准支持的个性化定制、工具和报告服务,这类标准定义了用于错误和跟踪记录的标准日志api。
Numbers have been decimated by clear cutting, over-logging and a preference for faster growing species such as larch.
但其数量因皆伐、过度采伐以及对快速增长树种(如落叶松)的偏好而大幅减少。
应用推荐