You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2014/10/01 01:37:32 UTC
[2/2] git commit: Add javadoc link
Add javadoc link
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/07c8456a
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/07c8456a
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/07c8456a
Branch: refs/heads/master
Commit: 07c8456a2ae618a80f0b98d2ebbaa46031d437d8
Parents: 4efc23b
Author: Matt Sicker <ma...@apache.org>
Authored: Tue Sep 30 18:37:24 2014 -0500
Committer: Matt Sicker <ma...@apache.org>
Committed: Tue Sep 30 18:37:24 2014 -0500
----------------------------------------------------------------------
src/site/xdoc/manual/plugins.xml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/07c8456a/src/site/xdoc/manual/plugins.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/manual/plugins.xml b/src/site/xdoc/manual/plugins.xml
index 4733a8d..12cc7f0 100644
--- a/src/site/xdoc/manual/plugins.xml
+++ b/src/site/xdoc/manual/plugins.xml
@@ -186,17 +186,19 @@
<a name="Lookups"/>
<p>
Lookups are perhaps the simplest plugins of all. They must declare their type as "Lookup" on the
- plugin annotation and must implement the StrLookup interface. They will have two methods; a
+ plugin annotation and must implement the
+ <a class="javadoc" href="../log4j-core/apidocs/org/apache/logging/log4j/core/lookup/StrLookup.html">StrLookup</a>
+ interface. They will have two methods; a
lookup method that accepts a String key and returns a String value and a second lookup method that
accepts both a LogEvent and a String key and returns a String. Lookups may be referenced by
- specifying ${<i>name</i>:key} where <i>name</i> is the name specified in the Plugin annotation and
+ specifying ${<var>name</var>:key} where <var>name</var> is the name specified in the Plugin annotation and
key is the name of the item to locate.
</p>
</subsection>
<subsection name="TypeConverters">
<a name="TypeConverters"/>
<p>
- <a class="javadoc" href="../log4j-core/apidocs/org/apache/logging/log4j/core/config/plugins/convert/TypeConverter.html">TypeConverters</a>
+ <a class="javadoc" href="../log4j-core/apidocs/org/apache/logging/log4j/core/config/plugins/convert/TypeConverter.html">TypeConverter</a>s
are a sort of meta-plugin used for converting strings into other types in a plugin factory method
parameter. Other plugins can already be injected via the <code>@PluginElement</code> annotation; now, any
type supported by the type conversion system can be used in a <code>@PluginAttribute</code> parameter.