com.ontimize.util.gis.server.interfaces
Interface IGisLogger

All Known Implementing Classes:
GisLogger

public interface IGisLogger

Gis logger interface


Field Summary
static int LOG_DEBUG
           
static int LOG_ERROR
           
static int LOG_FATAL
           
static int LOG_INFO
           
static int LOG_TRACE
           
static int LOG_WARN
           
 
Method Summary
 void addLog(java.lang.Object o, int level)
          Add a new log message
 void initLog(java.lang.Class parentClass, java.lang.Object propertiesNode)
          Initialize the logger with specified properties file xml node
 void initLog(java.lang.Class parentClass, java.lang.String propertiesPath)
          Initialize the logger with specified properties file
 

Field Detail

LOG_TRACE

static final int LOG_TRACE
See Also:
Constant Field Values

LOG_DEBUG

static final int LOG_DEBUG
See Also:
Constant Field Values

LOG_INFO

static final int LOG_INFO
See Also:
Constant Field Values

LOG_WARN

static final int LOG_WARN
See Also:
Constant Field Values

LOG_ERROR

static final int LOG_ERROR
See Also:
Constant Field Values

LOG_FATAL

static final int LOG_FATAL
See Also:
Constant Field Values
Method Detail

initLog

void initLog(java.lang.Class parentClass,
             java.lang.String propertiesPath)
Initialize the logger with specified properties file

Parameters:
parentClass -
propertiesPath - Properties file path

initLog

void initLog(java.lang.Class parentClass,
             java.lang.Object propertiesNode)
Initialize the logger with specified properties file xml node

Parameters:
parentClass -
propertiesNode - Properties xml node

addLog

void addLog(java.lang.Object o,
            int level)
Add a new log message

Parameters:
o - Message
level - Log level (ERROR, WARNING...)