blob: c001e06f2bdd5009cb8920baacc07b0802b2fe2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*************************************************
*
* = PACKAGE
* netsvcs.Logger
*
* = FILENAME
* LogMessageReceiver.java
*
*@author Everett Anderson
*
*************************************************/
package netsvcs.Logger;
import java.io.*;
/**
*
* <p><h2>DESCRIPTION</h2>
*
* <blockquote>
* The LogMessageReceiver removes the code that handles a log message from
* the logging service acceptor. The DefaultLMR simply calls the LogRecord's
* print method. Other implementations of this interface can be built and
* given to the ServerLoggingAcceptor to change the result.
*
* @see netsvcs.Logger.ServerLoggingAcceptor
* @see netsvcs.Logger.LogRecord
*/
public interface LogMessageReceiver
{
public void logRecord (String hostname,
LogRecord record);
};
|