| 1 |
//---PACKAGE DECLARATION--- |
| 2 |
//package uk.org.iscream.core; |
| 3 |
|
| 4 |
//---IMPORTS--- |
| 5 |
|
| 6 |
/** |
| 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 |
* @author $Author: tdb1 $ |
| 12 |
* @version $Id: LoggerImpl.java,v 1.6 2001/03/14 23:25:29 tdb1 Exp $ |
| 13 |
*/ |
| 14 |
public interface LoggerImpl { |
| 15 |
|
| 16 |
//---FINAL ATTRIBUTES--- |
| 17 |
|
| 18 |
//---STATIC METHODS--- |
| 19 |
|
| 20 |
//---CONSTRUCTORS--- |
| 21 |
|
| 22 |
//---PUBLIC METHODS--- |
| 23 |
|
| 24 |
/** |
| 25 |
* The write() method takes a line of text, pre-formatted |
| 26 |
* and outputs it using a method defined by the actual |
| 27 |
* implementation. The verbosity is given in case the |
| 28 |
* implementation wishes to utilise it in the layout - |
| 29 |
* eg. a different colour or font. |
| 30 |
* |
| 31 |
* @param line A line of formatted text to be logged |
| 32 |
* @param verbosity the verbosity of this message |
| 33 |
*/ |
| 34 |
public void write(String line, int verbosity); |
| 35 |
|
| 36 |
//---PRIVATE/PROTECTED METHODS--- |
| 37 |
|
| 38 |
//---ACCESSOR/MUTATOR METHODS--- |
| 39 |
|
| 40 |
//---ATTRIBUTES--- |
| 41 |
|
| 42 |
//---STATIC ATTRIBUTES--- |
| 43 |
|
| 44 |
} |
| 45 |
|