Package org.apache.log
Interface LogTarget
-
- All Known Implementing Classes:
AbstractJDBCTarget,AbstractJMSTarget,AbstractOutputTarget,AbstractTarget,AbstractWrappingTarget,AsyncLogTarget,DatagramOutputTarget,DefaultJDBCTarget,FileTarget,JMSQueueTarget,JMSTopicTarget,MemoryTarget,NormalizedJDBCTarget,NullOutputLogTarget,PriorityFilteringTarget,RotatingFileTarget,SafeFileTarget,ServletOutputLogTarget,SMTPOutputLogTarget,SocketOutputTarget,StreamTarget,WriterTarget
public interface LogTargetLogTarget is a class to encapsulate outputting LogEvent's. This provides the base for all output and filter targets. Warning: If performance becomes a problem then this interface will be rewritten as a abstract class.- Author:
- Peter Donald
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocessEvent(LogEvent event)Process a log event.
-
-
-
Method Detail
-
processEvent
void processEvent(LogEvent event)
Process a log event. In NO case should this method ever throw an exception/error. The reason is that logging is usually added for debugging/auditing purposes and it would be unnaceptable to have your debugging code cause more errors.- Parameters:
event- the event
-
-