org.mmbase.util.logging.LoggerAccepter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mmbase-utils Show documentation
Show all versions of mmbase-utils Show documentation
<p>
MMBase Utils is a part of MMBase, but can also be used in
other projects. It contains several kind of utility
classes.</p>
<p>Highlights:</p>
<ul>
<li>An implementation of 'events'. Threads can use this to
communicate certain things. Using mmbase-clustering,
these events can also be sent to other servers.</li>
<li>A logging framework</li>
<li>A framework for string and byte array transformeration,
plus a whole lot of implemetentations for that.</li>
<li>Several java.util like classes (collections, dateparsing)</li>
<li>File type recognition ('magicfile')</li>
<li>The MMBase resourceloader, a generic fall-back mechanism
for configuration files and similar resources.</li>
<li>...</li>
</ul>
The newest version!
/*
This software is OSI Certified Open Source Software.
OSI Certified is a certification mark of the Open Source Initiative.
The license (Mozilla version 1.0) can be read at the MMBase site.
See http://www.MMBase.org/license
*/
package org.mmbase.util.logging;
/**
* A LoggerAccepter is a class with a public 'addLogger' method. The class can log things to the as
* such provided {@link Logger}'s which may be of interest to the caller of that method.
* It may well be implemented using {@link ChainedLogger}.
*
* @author Michiel Meeuwissen
* @since MMBase-1.9.1
* @version $Id$
*/
public interface LoggerAccepter {
void addLogger(Logger l);
boolean containsLogger(Logger l);
boolean removeLogger(Logger l);
}