Enterprise Library Test Guide - Willy .Net
Enterprise Library Test Guide - Willy .Net
Enterprise Library Test Guide - Willy .Net
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
128<br />
<strong>Enterprise</strong> <strong>Library</strong> <strong>Test</strong> <strong>Guide</strong><br />
Table 2: Logging Application Block Entry Points<br />
No. Entry Points Clients Descriptions<br />
1 Assemblies Administrators and application<br />
processes<br />
The Logging Application Block assemblies<br />
ship with the application that uses<br />
the application block.<br />
2 Configuration file Administrators and application<br />
processes<br />
3 Configuration source Administrators and application<br />
processes<br />
4 Configuration value<br />
objects<br />
Administrators and application<br />
processes<br />
5 Trace listeners Administrators and application<br />
processes<br />
6 Formatting handlers Administrators and application<br />
processes<br />
7 Logging filters Administrators and application<br />
processes<br />
8 Database Administrators and application<br />
processes<br />
9 Event log Administrators and application<br />
processes<br />
10 Flat files Administrators and application<br />
processes<br />
11 Message queuing<br />
and distributor<br />
service<br />
12 Public classes and<br />
static methods<br />
Administrators, application<br />
processes,<br />
Message Queuing, the<br />
distributor service, and<br />
the Windows Service<br />
Identity page<br />
Administrators and application<br />
processes<br />
The Logging Application Block uses the<br />
and possibly<br />
the sections of the<br />
configuration file.<br />
A configuration source implements the<br />
IConfigurationSource interface.<br />
Configuration value objects contain data<br />
about the application block’s configuration.<br />
Trace listeners receive tracing information<br />
and send it to an output destination,<br />
such as an event log or a database.<br />
The Logging Application Block can format<br />
log messages with a text formatter,<br />
a binary formatter, or a custom formatter.<br />
The Logging Application Block can filter<br />
messages with a category filter, a priority<br />
filter, or a custom filter.<br />
The Logging Application Block can log<br />
messages to a database.<br />
The Logging Application Block can log<br />
messages to an event log.<br />
The Logging Application Block can log<br />
messages to a flat file<br />
The Logging Application Block’s distributor<br />
service uses message queuing to<br />
asynchronously distribute log messages.<br />
The service uses the Windows<br />
Service Identity page to access a message<br />
queue.<br />
The Logger, LogEntry, and Native-<br />
Methods classes expose static methods.<br />
(The NativeMethods class is a<br />
managed class that includes wrappers<br />
to call Win32 APIs.)