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
Revision: 1.1
Committed: Mon Nov 20 18:38:48 2000 UTC (23 years, 6 months ago) by tdb
Branch: MAIN
Log Message:
An interface which acts as a go-between for the LoggerServant and the actual
logger implementation, which should implement this interface.

File Contents

# User Rev Content
1 tdb 1.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     }