1 |
ajm |
1.2 |
//---PACKAGE DECLARATION--- |
2 |
|
|
package uk.ac.ukc.iscream.core; |
3 |
|
|
|
4 |
|
|
//---IMPORTS--- |
5 |
|
|
|
6 |
tdb |
1.1 |
/** |
7 |
|
|
* The LoggerImpl is an interface which any implementation for the |
8 |
|
|
* Logging system should implement. This ensures that it fits in |
9 |
|
|
* with the LoggerServant which will be attached to the CORBA system. |
10 |
|
|
* |
11 |
tdb |
1.4 |
* @author $Author: tdb1 $ |
12 |
|
|
* @version $Id: LoggerImpl.java,v 1.3 2001/01/28 05:17:42 tdb1 Exp $ |
13 |
tdb |
1.1 |
*/ |
14 |
|
|
public interface LoggerImpl { |
15 |
ajm |
1.2 |
|
16 |
|
|
//---FINAL ATTRIBUTES--- |
17 |
|
|
|
18 |
|
|
//---STATIC METHODS--- |
19 |
|
|
|
20 |
|
|
//---CONSTRUCTORS--- |
21 |
|
|
|
22 |
|
|
//---PUBLIC METHODS--- |
23 |
|
|
|
24 |
tdb |
1.3 |
/** |
25 |
tdb |
1.1 |
* The write() method takes a message, formats it using the |
26 |
|
|
* formatLogLine() method, and then outputs it by some means |
27 |
|
|
* determined by the implementation. The source is usually the |
28 |
|
|
* calling object, referenced by `this'. |
29 |
|
|
* |
30 |
|
|
* @param source A string representation of the calling object. |
31 |
|
|
* @param verbosity the verbosity of this message |
32 |
|
|
* @param message The text to be logged. |
33 |
|
|
*/ |
34 |
tdb |
1.4 |
public void write(String line, int verbosity); |
35 |
tdb |
1.1 |
|
36 |
ajm |
1.2 |
//---PRIVATE METHODS--- |
37 |
|
|
|
38 |
|
|
//---ACCESSOR/MUTATOR METHODS--- |
39 |
|
|
|
40 |
|
|
//---ATTRIBUTES--- |
41 |
|
|
|
42 |
|
|
//---STATIC ATTRIBUTES--- |
43 |
|
|
|
44 |
tdb |
1.1 |
} |
45 |
ajm |
1.2 |
|