22 |
|
//---PUBLIC METHODS--- |
23 |
|
|
24 |
|
/** |
25 |
< |
* 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'. |
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 source A string representation of the calling object. |
31 |
> |
* @param line A line of formatted text to be logged |
32 |
|
* @param verbosity the verbosity of this message |
32 |
– |
* @param message The text to be logged. |
33 |
|
*/ |
34 |
|
public void write(String line, int verbosity); |
35 |
|
|