org.ozoneDB.util
Interface LogWriter
- All Known Implementing Classes:
- LogWriterLog4JImpl, SimpleLogWriter
- public interface LogWriter
- Version:
- $Revision: 1.4 $Date: 2002/09/18 06:54:18 $
- Author:
- SMB
Method Summary |
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)
|
LOG_FILE
public static final java.lang.String LOG_FILE
- See Also:
- Constant Field Values
LOG_CONFIG_FILE_NAME
public static final java.lang.String LOG_CONFIG_FILE_NAME
- See Also:
- Constant Field Values
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.
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.