Interface LogTarget

  • All Implemented Interfaces:

    @Deprecated() 
    public interface LogTarget
    
                        

    LogTarget 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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void processEvent(LogEvent event) Process a log event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • processEvent

         abstract 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 unacceptable to have your debugging code cause more errors.

        Parameters:
        event - the event