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.4
Committed: Sun Feb 25 20:34:14 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.3: +3 -3 lines
Log Message:
Big change in the logging structure. The line is now generated in an external
class, FormatName (in the util package), and the verbosity checking is carried
out in the LoggerServant instead of each logger.
This change was made to try and have behaviour in one place, rather than in each
individual logger.

File Contents

# Content
1 //---PACKAGE DECLARATION---
2 package uk.ac.ukc.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.3 2001/01/28 05:17:42 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 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 public void write(String line, int verbosity);
35
36 //---PRIVATE METHODS---
37
38 //---ACCESSOR/MUTATOR METHODS---
39
40 //---ATTRIBUTES---
41
42 //---STATIC ATTRIBUTES---
43
44 }
45