org.ozoneDB.util
Interface LogWriter
- All Known Implementing Classes:
- LogWriterLog4JImpl
- public interface LogWriter
- Version:
- $Revision: 1.2 $Date: 2002/05/17 08:55:47 $
- Author:
- SMB
Method Summary |
void |
addLogTarget(java.io.PrintWriter _writer,
int _level,
java.lang.String name)
|
void |
addLogTarget(java.lang.String name,
java.io.OutputStream _out,
int _level)
|
boolean |
hasTarget(int level)
This method allows to quickly find out if there is any log target that
would receive entries of the specified level. |
void |
newEntry(java.lang.Object sender,
java.lang.String msg,
int level)
|
void |
newEntry(java.lang.Object sender,
java.lang.String msg,
java.lang.Throwable e,
int level)
|
FATAL
public static final int FATAL
- See Also:
- Constant Field Values
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
WARN
public static final int WARN
- See Also:
- Constant Field Values
INFO
public static final int INFO
- See Also:
- Constant Field Values
DEBUG
public static final int DEBUG
- See Also:
- Constant Field Values
DEBUG1
public static final int DEBUG1
- See Also:
- Constant Field Values
DEBUG2
public static final int DEBUG2
- See Also:
- Constant Field Values
DEBUG3
public static final int DEBUG3
- See Also:
- Constant Field Values
hasTarget
public boolean hasTarget(int level)
- This method allows to quickly find out if there is any log target that
would receive entries of the specified level.
addLogTarget
public void addLogTarget(java.lang.String name,
java.io.OutputStream _out,
int _level)
addLogTarget
public void addLogTarget(java.io.PrintWriter _writer,
int _level,
java.lang.String name)
newEntry
public void newEntry(java.lang.Object sender,
java.lang.String msg,
int level)
newEntry
public void newEntry(java.lang.Object sender,
java.lang.String msg,
java.lang.Throwable e,
int level)
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.