1 |
/** |
2 |
* The LoggerImpl is an interface which any implementation for the |
3 |
* Logging system should implement. This ensures that it fits in |
4 |
* with the LoggerServant which will be attached to the CORBA system. |
5 |
* |
6 |
* @author $Author$ |
7 |
* @version $Id$ |
8 |
*/ |
9 |
public interface LoggerImpl { |
10 |
|
11 |
/** |
12 |
* The write() method takes a message, formats it using the |
13 |
* formatLogLine() method, and then outputs it by some means |
14 |
* determined by the implementation. The source is usually the |
15 |
* calling object, referenced by `this'. |
16 |
* |
17 |
* @param source A string representation of the calling object. |
18 |
* @param verbosity the verbosity of this message |
19 |
* @param message The text to be logged. |
20 |
*/ |
21 |
public void write(String source, int verbosity, String message); |
22 |
|
23 |
} |