org.apache.james.ai.classic
Interface Log

All Known Implementing Classes:
BayesianAnalysis, BayesianAnalysisFeeder, JDBCBayesianAnalyzer, SystemLog

public interface Log

A simple logging mechanism.


Method Summary
 void log(String errorString)
          An abstract method which child classes override to handle logging of errors in their particular environments.
 void log(String errorString, Throwable t)
          An abstract method which child classes override to handle logging of errors in their particular environments.
 

Method Detail

log

void log(String errorString)
An abstract method which child classes override to handle logging of errors in their particular environments.

Parameters:
errorString - the error message generated

log

void log(String errorString,
         Throwable t)
An abstract method which child classes override to handle logging of errors in their particular environments.

Parameters:
errorString - the error message generated
t - exception


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.