ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/core/LoggerImpl.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/core/LoggerImpl.java (file contents):
Revision 1.2 by ajm, Wed Nov 29 21:27:08 2000 UTC vs.
Revision 1.5 by tdb, Sun Feb 25 20:49:18 2001 UTC

# Line 21 | Line 21 | public interface LoggerImpl {
21  
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'.
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 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 source, int verbosity, String message);
34 >    public void write(String line, int verbosity);
35      
36   //---PRIVATE METHODS---
37  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines