Syslog White Paper FAQ Examples JavaDoc Classloader
Protomatter Software v1.1.7

com.protomatter.syslog
Interface LogPolicy

All Known Implementing Classes:
SimpleLogPolicy

public interface LogPolicy

The interface for the pluggable log policy system.

See Also:
SimpleLogPolicy

Method Summary
 java.lang.String getName()
          Get the name of this policy.
 void setName(java.lang.String name)
          Set the name of this policy.
 boolean shouldLog(SyslogMessage message)
          Determine if a log message should be logged given the information.
 

Method Detail

shouldLog

public boolean shouldLog(SyslogMessage message)
Determine if a log message should be logged given the information. This method should execute as fast as possible.

getName

public java.lang.String getName()
Get the name of this policy.

setName

public void setName(java.lang.String name)
Set the name of this policy.

Protomatter Software v1.1.7
Copyright 1998-2002 Nate Sammons

Protomatter Software v1.1.7 http://protomatter.sourceforge.net/1.1.7