ozone core API

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

Field Summary
static int DEBUG
           
static int DEBUG1
           
static int DEBUG2
           
static int DEBUG3
           
static int ERROR
           
static int FATAL
           
static int INFO
           
static java.lang.String LOG_CONFIG_FILE_NAME
           
static java.lang.String LOG_FILE
           
static int WARN
           
 
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)
           
 

Field Detail

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
Method Detail

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)

ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.