|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.apache.log4j.rewrite.MapRewritePolicy
public class MapRewritePolicy
This policy rewrites events where the message of the original event implementes java.util.Map. All other events are passed through unmodified. If the map contains a "message" entry, the value will be used as the message for the rewritten event. The rewritten event will have a property set that is the combination of the original property set and the other members of the message map. If both the original property set and the message map contain the same entry, the value from the message map will overwrite the original property set. The combination of the RewriteAppender and this policy performs the same actions as the MapFilter from log4j 1.3.
コンストラクタの概要 | |
---|---|
MapRewritePolicy()
|
メソッドの概要 | |
---|---|
org.apache.log4j.spi.LoggingEvent |
rewrite(org.apache.log4j.spi.LoggingEvent source)
Rewrite a logging event. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public MapRewritePolicy()
メソッドの詳細 |
---|
public org.apache.log4j.spi.LoggingEvent rewrite(org.apache.log4j.spi.LoggingEvent source)
RewritePolicy
内の rewrite
source
- a logging event that may be returned or
used to create a new logging event.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |