Package org.opencms.main
Class CmsDuplicateRemovingLogBuffer
java.lang.Object
org.opencms.main.CmsDuplicateRemovingLogBuffer
Class used to collect log messages and later write them to the actual log but with duplicates removed.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Entry to write to the log. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
CmsDuplicateRemovingLogBuffer
public CmsDuplicateRemovingLogBuffer()
-
-
Method Details
-
add
Adds a new log entry.- Parameters:
channel
- the log channellevel
- the log levelmessage
- the log message
-
flush
Dumps all collected log entries to their respective logs, with duplicates removed.Also clears the set of collected log entries.
-