Modified: logging/log4net/trunk/doc/release/manual/plugins.html URL: http://svn.apache.org/viewvc/logging/log4net/trunk/doc/release/manual/plugins.html?view=diff&rev=511694&r1=511693&r2=511694 ============================================================================== --- logging/log4net/trunk/doc/release/manual/plugins.html (original) +++ logging/log4net/trunk/doc/release/manual/plugins.html Sun Feb 25 18:10:21 2007 @@ -37,12 +37,12 @@ <meta name="keywords" content="log4net plugins, log4net" /> - + <link href="../../css/site.css" rel="stylesheet" type="text/css"/> - <link href="../../css/style.css" rel="stylesheet" type="text/css"/> - - <title>log4net - log4net Manual - Plugins</title> + <link href="../../css/style.css" rel="stylesheet" type="text/css"/> + + <title>Apache log4net Manual: Plugins</title> </head> @@ -50,7 +50,12 @@ bgcolor="#ffffff" text="#000000" link="#525D76" - > + > + <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> + <script type="text/javascript"> + _uacct = "UA-1416250-1"; + </script> + <!-- START Header table --> <table class="banner" border="0"> <tr> @@ -66,90 +71,90 @@ <!-- END Header table --> - <div class="centercol"> + <div class="centercol"> <!-- START main table --> - <h1><a id="main"></a>log4net Manual - Plugins</h1> + <h1><a id="main"></a>log4net Manual - Plugins</h1> <div class="i1"> - <h2>Contents</h2> - <div class="i1"> - <a href="#plugins">Plugins</a><br/> + <h2>Contents</h2> + <div class="i1"> + <a href="#plugins">Plugins</a><br/> <div class="i1"> <a href="#attributes">Plugin Attributes</a><br/> <div class="i1"> </div> </div> - </div> - <h2><a id="plugins"></a>Plugins</h2> + </div> + <h2><a id="plugins"></a>Plugins</h2> <div class="i1"> <p> - Plugins are additional modular components that are attached to a logger repository. - </p> + Plugins are additional modular components that are attached to a logger repository. + </p> <p> - Plugins are stored in the <span class="code">PluginMap</span> of an - <span class="code">ILoggerRepository</span>. - Plugins are attached to the repository by using the <span class="code">PluginMap.Add</span> - method. - </p> + Plugins are stored in the <span class="code">PluginMap</span> of an + <span class="code">ILoggerRepository</span>. + Plugins are attached to the repository by using the <span class="code">PluginMap.Add</span> + method. + </p> <p> - The following plugins are included in the log4net package: - </p> + The following plugins are included in the log4net package: + </p> <div class="table"> - <table cellspacing="0"> - <tr> - <th> - Type</th> - <th> - Description</th> - </tr> - <tr> - <td>log4net.Plugin.RemoteLoggingServerPlugin</td> - <td> - Creates a remote logging sink that can receive logging events from a - <span class="code">RemotingAppender</span>. - </td> - </tr> - </table> - </div> + <table cellspacing="0"> + <tr> + <th> + Type</th> + <th> + Description</th> + </tr> + <tr> + <td>log4net.Plugin.RemoteLoggingServerPlugin</td> + <td> + Creates a remote logging sink that can receive logging events from a + <span class="code">RemotingAppender</span>. + </td> + </tr> + </table> + </div> <ul> - <li> - <h3>RemoteLoggingServerPlugin</h3> - <p> - Creates a remote logging sink that can receive logging events from a - <span class="code">RemotingAppender</span>. - </p> - <p> - Creates a remoting logging sink. A single - parameter must be passed to the constructor that specifies the sink URI. This is a - name used to identify the logging sink object published via remoting and must be - agreed with the client before communication can take place. - </p> - <p> - Example usage: - </p> - <source language="C#"><![CDATA[ + <li> + <h3>RemoteLoggingServerPlugin</h3> + <p> + Creates a remote logging sink that can receive logging events from a + <span class="code">RemotingAppender</span>. + </p> + <p> + Creates a remoting logging sink. A single + parameter must be passed to the constructor that specifies the sink URI. This is a + name used to identify the logging sink object published via remoting and must be + agreed with the client before communication can take place. + </p> + <p> + Example usage: + </p> + <source language="C#"><![CDATA[ LogManager.GetRepository().PluginMap.Add(new RemoteLoggingServerPlugin("LoggingSink"));]]></source> - </li> - </ul> + </li> + </ul> <h3><a id="attributes"></a>Plugin Attributes</h3> <div class="i1"> <p> - Plugins can be configured using the following assembly-level attributes: - </p> + Plugins can be configured using the following assembly-level attributes: + </p> <ul> - <li> - <h3>PluginAttribute</h3> - <p> - Specifies a plugin type to create and attach to the default repository. This attribute - does not allow plugins to be parameterized. The plugin class must have a public default constructor. - </p> - <p> - This attribute may be used as many times as necessary to attach plugins to the repository. - </p> - </li> - </ul> + <li> + <h3>PluginAttribute</h3> + <p> + Specifies a plugin type to create and attach to the default repository. This attribute + does not allow plugins to be parameterized. The plugin class must have a public default constructor. + </p> + <p> + This attribute may be used as many times as necessary to attach plugins to the repository. + </p> + </li> + </ul> </div> </div> </div> @@ -162,9 +167,9 @@ <div align="center"><font color="#525D76" size="-1"><em> Copyright © - 2004-2006, - Apache Software Foundation - </em></font></div> + 2004-2007, + Apache Software Foundation + </em></font></div> <!-- END main table --> </div> @@ -173,60 +178,63 @@ <!-- ============================================================ --> <div class="leftcol"> <div class="menu_header">Apache</div> - <div class="menu_item"> <a href="http://www.apache.org">Apache Home</a> + <div class="menu_item"> <a href="http://www.apache.org">Apache Home</a> </div> - <div class="menu_item"> <a href="http://logging.apache.org/">Logging Services</a> + <div class="menu_item"> <a href="http://logging.apache.org/">Logging Services</a> </div> <div class="menu_header">log4net Project</div> - <div class="menu_item"> <a href="../../index.html">About</a> + <div class="menu_item"> <a href="../../index.html">About</a> </div> - <div class="menu_item"> <a href="../../license.html">License</a> + <div class="menu_item"> <a href="../../license.html">License</a> </div> - <div class="menu_item"> <a href="../../support.html">Support</a> + <div class="menu_item"> <a href="../../support.html">Support</a> </div> - <div class="menu_item"> <a href="../../roadmap.html">Roadmap</a> + <div class="menu_item"> <a href="../../roadmap.html">Roadmap</a> </div> - <div class="menu_item"> <a href="../../contributing.html">Contributing</a> + <div class="menu_item"> <a href="../../contributing.html">Contributing</a> </div> - <div class="menu_item"> <a href="../../history.html">History</a> + <div class="menu_item"> <a href="../../history.html">History</a> </div> - <div class="menu_item"> <a href="../../downloads.html">Downloads</a> + <div class="menu_item"> <a href="../../downloads.html">Downloads</a> </div> <div class="menu_header">log4net 1.2 Documentation</div> - <div class="menu_item"> <a href="../../release/features.html">Features</a> + <div class="menu_item"> <a href="../../release/features.html">Features</a> </div> - <div class="menu_item"> <a href="../../release/framework-support.html">Supported Frameworks</a> + <div class="menu_item"> <a href="../../release/framework-support.html">Supported Frameworks</a> </div> - <div class="menu_item"> <a href="../../release/release-notes.html">Release Notes</a> + <div class="menu_item"> <a href="../../release/release-notes.html">Release Notes</a> </div> - <div class="menu_item"> <a href="../../release/example-apps.html">Example Apps</a> + <div class="menu_item"> <a href="../../release/example-apps.html">Example Apps</a> </div> - <div class="menu_item"> <a href="../../release/config-examples.html">Config Examples</a> + <div class="menu_item"> <a href="../../release/config-examples.html">Config Examples</a> </div> - <div class="menu_item"> <a href="../../release/building.html">Building</a> + <div class="menu_item"> <a href="../../release/building.html">Building</a> </div> - <div class="menu_item"> <a href="../../release/faq.html">FAQ</a> + <div class="menu_item"> <a href="../../release/faq.html">FAQ</a> </div> - <div class="menu_item"> <a href="../../release/howto/index.html">How Tos</a> + <div class="menu_item"> <a href="../../release/howto/index.html">How Tos</a> </div> - <div class="menu_item"> <a href="../../release/sdk/index.html">SDK Reference</a> + <div class="menu_item"> <a href="../../release/sdk/index.html">SDK Reference</a> </div> <div class="menu_header">log4net 1.2 Manual</div> - <div class="menu_item"> <a href="../../release/manual/introduction.html">Introduction</a> + <div class="menu_item"> <a href="../../release/manual/introduction.html">Introduction</a> </div> - <div class="menu_item"> <a href="../../release/manual/configuration.html">Configuration</a> + <div class="menu_item"> <a href="../../release/manual/configuration.html">Configuration</a> </div> - <div class="menu_item"> <a href="../../release/manual/contexts.html">Contexts</a> + <div class="menu_item"> <a href="../../release/manual/contexts.html">Contexts</a> </div> - <div class="menu_item"> <a href="../../release/manual/plugins.html">Plugins</a> + <div class="menu_item"> <a href="../../release/manual/plugins.html">Plugins</a> </div> - <div class="menu_item"> <a href="../../release/manual/repositories.html">Repositories</a> + <div class="menu_item"> <a href="../../release/manual/repositories.html">Repositories</a> </div> - <div class="menu_item"> <a href="../../release/manual/internals.html">Internals</a> + <div class="menu_item"> <a href="../../release/manual/internals.html">Internals</a> </div> </div> + <script type="text/javascript"> + urchinTracker(); + </script> </body> </html> <!-- end the processing -->
Modified: logging/log4net/trunk/doc/release/manual/repositories.html URL: http://svn.apache.org/viewvc/logging/log4net/trunk/doc/release/manual/repositories.html?view=diff&rev=511694&r1=511693&r2=511694 ============================================================================== --- logging/log4net/trunk/doc/release/manual/repositories.html (original) +++ logging/log4net/trunk/doc/release/manual/repositories.html Sun Feb 25 18:10:21 2007 @@ -37,12 +37,12 @@ <meta name="keywords" content="building log4net, log4net" /> - + <link href="../../css/site.css" rel="stylesheet" type="text/css"/> - <link href="../../css/style.css" rel="stylesheet" type="text/css"/> - - <title>log4net - log4net Manual - Repositories</title> + <link href="../../css/style.css" rel="stylesheet" type="text/css"/> + + <title>Apache log4net Manual: Repositories</title> </head> @@ -50,7 +50,12 @@ bgcolor="#ffffff" text="#000000" link="#525D76" - > + > + <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> + <script type="text/javascript"> + _uacct = "UA-1416250-1"; + </script> + <!-- START Header table --> <table class="banner" border="0"> <tr> @@ -66,100 +71,100 @@ <!-- END Header table --> - <div class="centercol"> + <div class="centercol"> <!-- START main table --> - <h1><a id="main"></a>log4net Manual - Repositories</h1> + <h1><a id="main"></a>log4net Manual - Repositories</h1> <div class="i1"> - <h2>Contents</h2> - <div class="i1"> - <a href="#repository">Logging Repositories</a><br/> + <h2>Contents</h2> + <div class="i1"> + <a href="#repository">Logging Repositories</a><br/> <div class="i1"> <a href="#attributes">Attributes</a><br/> <div class="i1"> </div> </div> - </div> - <h2><a id="repository"></a>Logging Repositories</h2> + </div> + <h2><a id="repository"></a>Logging Repositories</h2> <div class="i1"> <p> - Logging repositories are considered advanced functionality. The default behavior - should be sufficient for most users. - </p> + Logging repositories are considered advanced functionality. The default behavior + should be sufficient for most users. + </p> <p> - Log4net supports logging repositories. A repository is uniquely named. - Each repository is a (<span class="code">ILoggerRepository</span>). - Multiple assemblies can link to the same repository. - </p> + Log4net supports logging repositories. A repository is uniquely named. + Each repository is a (<span class="code">ILoggerRepository</span>). + Multiple assemblies can link to the same repository. + </p> <p> - By default there is a single logging repository per process (more precisely per AppDomain). This extends - across all assemblies loaded into the process and allows them to all share a - single configuration. The configuration of the repository only needs to be done once, - typically in the entry point to the application, either programmatically or using - a configuration attribute. - </p> + By default there is a single logging repository per process (more precisely per AppDomain). This extends + across all assemblies loaded into the process and allows them to all share a + single configuration. The configuration of the repository only needs to be done once, + typically in the entry point to the application, either programmatically or using + a configuration attribute. + </p> <p> - Named logging repositories can be created using the <span class="code">LogManager.CreateRepository</span> - method. The repository for can be retrieved using the - <span class="code">LogManager.GetRepository</span> method. - A repository created in this way will need to be configured programmatically. - </p> + Named logging repositories can be created using the <span class="code">LogManager.CreateRepository</span> + method. The repository for can be retrieved using the + <span class="code">LogManager.GetRepository</span> method. + A repository created in this way will need to be configured programmatically. + </p> <h3><a id="attributes"></a>Attributes</h3> <div class="i1"> <p> - An assembly may choose to utilize a named logging repository rather than the default repository. - This completely separates the logging for the assembly from the rest of the application. - This can be very useful to component developers that wish to use log4net for their - components but do not want to require that all the applications that use their - component are aware of log4net. It also means that their debugging configuration is - separated from the applications configuration. The assembly should specify the - <span class="code">RepositoryAttribute</span> to set its logging repository. - </p> + An assembly may choose to utilize a named logging repository rather than the default repository. + This completely separates the logging for the assembly from the rest of the application. + This can be very useful to component developers that wish to use log4net for their + components but do not want to require that all the applications that use their + component are aware of log4net. It also means that their debugging configuration is + separated from the applications configuration. The assembly should specify the + <span class="code">RepositoryAttribute</span> to set its logging repository. + </p> <p> - The log4net logging repositories can be configured using the following assembly-level - attributes: - </p> + The log4net logging repositories can be configured using the following assembly-level + attributes: + </p> <ul> - <li> - <b>AliasRepositoryAttribute</b> - <p> - Specifies a named repository to use as this assembly's repository. - </p> - <p> - An assembly's logger repository is defined by its - <span class="code">RepositoryAttribute</span>, however this can be overridden by an - assembly loaded before the target assembly. - </p> - <p> - An assembly can alias another assembly's repository by specifying - this attribute with the name of the target repository. - </p> - <p> - This attribute may be used as many times as necessary to alias all the required - repositories. - </p> - </li> - <li> - <b>RepositoryAttribute</b> - <p> - Specifies the logging repository for the assembly. - </p> - <p> - Assemblies are mapped to logging repositories. This attribute controls the configuration of the repository. The - <span class="code">Name</span> property specifies the name of the repository - for this assembly. The <span class="code">RepositoryType</span> - property specifies the type of the repository object to create for the assembly. - If this attribute is not specified and a <span class="code">Name</span> - is not specified then the assembly will be part of the default shared logging - repository. - </p> - <p> - This attribute may only be used once per assembly. - </p> - </li> - </ul> + <li> + <b>AliasRepositoryAttribute</b> + <p> + Specifies a named repository to use as this assembly's repository. + </p> + <p> + An assembly's logger repository is defined by its + <span class="code">RepositoryAttribute</span>, however this can be overridden by an + assembly loaded before the target assembly. + </p> + <p> + An assembly can alias another assembly's repository by specifying + this attribute with the name of the target repository. + </p> + <p> + This attribute may be used as many times as necessary to alias all the required + repositories. + </p> + </li> + <li> + <b>RepositoryAttribute</b> + <p> + Specifies the logging repository for the assembly. + </p> + <p> + Assemblies are mapped to logging repositories. This attribute controls the configuration of the repository. The + <span class="code">Name</span> property specifies the name of the repository + for this assembly. The <span class="code">RepositoryType</span> + property specifies the type of the repository object to create for the assembly. + If this attribute is not specified and a <span class="code">Name</span> + is not specified then the assembly will be part of the default shared logging + repository. + </p> + <p> + This attribute may only be used once per assembly. + </p> + </li> + </ul> </div> </div> </div> @@ -172,9 +177,9 @@ <div align="center"><font color="#525D76" size="-1"><em> Copyright © - 2004-2006, - Apache Software Foundation - </em></font></div> + 2004-2007, + Apache Software Foundation + </em></font></div> <!-- END main table --> </div> @@ -183,60 +188,63 @@ <!-- ============================================================ --> <div class="leftcol"> <div class="menu_header">Apache</div> - <div class="menu_item"> <a href="http://www.apache.org">Apache Home</a> + <div class="menu_item"> <a href="http://www.apache.org">Apache Home</a> </div> - <div class="menu_item"> <a href="http://logging.apache.org/">Logging Services</a> + <div class="menu_item"> <a href="http://logging.apache.org/">Logging Services</a> </div> <div class="menu_header">log4net Project</div> - <div class="menu_item"> <a href="../../index.html">About</a> + <div class="menu_item"> <a href="../../index.html">About</a> </div> - <div class="menu_item"> <a href="../../license.html">License</a> + <div class="menu_item"> <a href="../../license.html">License</a> </div> - <div class="menu_item"> <a href="../../support.html">Support</a> + <div class="menu_item"> <a href="../../support.html">Support</a> </div> - <div class="menu_item"> <a href="../../roadmap.html">Roadmap</a> + <div class="menu_item"> <a href="../../roadmap.html">Roadmap</a> </div> - <div class="menu_item"> <a href="../../contributing.html">Contributing</a> + <div class="menu_item"> <a href="../../contributing.html">Contributing</a> </div> - <div class="menu_item"> <a href="../../history.html">History</a> + <div class="menu_item"> <a href="../../history.html">History</a> </div> - <div class="menu_item"> <a href="../../downloads.html">Downloads</a> + <div class="menu_item"> <a href="../../downloads.html">Downloads</a> </div> <div class="menu_header">log4net 1.2 Documentation</div> - <div class="menu_item"> <a href="../../release/features.html">Features</a> + <div class="menu_item"> <a href="../../release/features.html">Features</a> </div> - <div class="menu_item"> <a href="../../release/framework-support.html">Supported Frameworks</a> + <div class="menu_item"> <a href="../../release/framework-support.html">Supported Frameworks</a> </div> - <div class="menu_item"> <a href="../../release/release-notes.html">Release Notes</a> + <div class="menu_item"> <a href="../../release/release-notes.html">Release Notes</a> </div> - <div class="menu_item"> <a href="../../release/example-apps.html">Example Apps</a> + <div class="menu_item"> <a href="../../release/example-apps.html">Example Apps</a> </div> - <div class="menu_item"> <a href="../../release/config-examples.html">Config Examples</a> + <div class="menu_item"> <a href="../../release/config-examples.html">Config Examples</a> </div> - <div class="menu_item"> <a href="../../release/building.html">Building</a> + <div class="menu_item"> <a href="../../release/building.html">Building</a> </div> - <div class="menu_item"> <a href="../../release/faq.html">FAQ</a> + <div class="menu_item"> <a href="../../release/faq.html">FAQ</a> </div> - <div class="menu_item"> <a href="../../release/howto/index.html">How Tos</a> + <div class="menu_item"> <a href="../../release/howto/index.html">How Tos</a> </div> - <div class="menu_item"> <a href="../../release/sdk/index.html">SDK Reference</a> + <div class="menu_item"> <a href="../../release/sdk/index.html">SDK Reference</a> </div> <div class="menu_header">log4net 1.2 Manual</div> - <div class="menu_item"> <a href="../../release/manual/introduction.html">Introduction</a> + <div class="menu_item"> <a href="../../release/manual/introduction.html">Introduction</a> </div> - <div class="menu_item"> <a href="../../release/manual/configuration.html">Configuration</a> + <div class="menu_item"> <a href="../../release/manual/configuration.html">Configuration</a> </div> - <div class="menu_item"> <a href="../../release/manual/contexts.html">Contexts</a> + <div class="menu_item"> <a href="../../release/manual/contexts.html">Contexts</a> </div> - <div class="menu_item"> <a href="../../release/manual/plugins.html">Plugins</a> + <div class="menu_item"> <a href="../../release/manual/plugins.html">Plugins</a> </div> - <div class="menu_item"> <a href="../../release/manual/repositories.html">Repositories</a> + <div class="menu_item"> <a href="../../release/manual/repositories.html">Repositories</a> </div> - <div class="menu_item"> <a href="../../release/manual/internals.html">Internals</a> + <div class="menu_item"> <a href="../../release/manual/internals.html">Internals</a> </div> </div> + <script type="text/javascript"> + urchinTracker(); + </script> </body> </html> <!-- end the processing -->
