com.dynamide.util
Class DBSysLogger

java.lang.Object
  extended by com.dynamide.util.DBSysLogger
All Implemented Interfaces:
ILogger

public class DBSysLogger
extends java.lang.Object
implements ILogger


Field Summary
static boolean DISABLED
           
 
Constructor Summary
DBSysLogger()
           
 
Method Summary
 void connect(ResourceManager rm, java.lang.String dbname)
           
 void flush()
          Implementations should synchronize this method, since flush might be called from multiple threads.
 RDBDatasource getDatasource()
           
 java.lang.String getDBName()
           
 java.lang.String getTableName()
           
 void log(org.apache.log4j.Priority priority, java.lang.String sessionid, java.lang.String threadid, java.lang.String stacktrace, java.lang.String message, java.lang.String errorURI)
           
 void log(org.apache.log4j.Priority priority, java.lang.String sessionid, java.lang.String applicationid, java.lang.String threadid, java.lang.String account, java.lang.String login, java.lang.String resourcename, java.lang.String stacktrace, java.lang.String message, java.lang.String exceptionName, java.lang.String shortMessage, java.lang.String errorURI)
           
 void setTableName(java.lang.String new_value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISABLED

public static boolean DISABLED
Constructor Detail

DBSysLogger

public DBSysLogger()
Method Detail

getDatasource

public RDBDatasource getDatasource()

getDBName

public java.lang.String getDBName()

getTableName

public java.lang.String getTableName()

setTableName

public void setTableName(java.lang.String new_value)

connect

public void connect(ResourceManager rm,
                    java.lang.String dbname)
             throws java.lang.Exception
Specified by:
connect in interface ILogger
Throws:
java.lang.Exception

log

public void log(org.apache.log4j.Priority priority,
                java.lang.String sessionid,
                java.lang.String threadid,
                java.lang.String stacktrace,
                java.lang.String message,
                java.lang.String errorURI)
Specified by:
log in interface ILogger

log

public void log(org.apache.log4j.Priority priority,
                java.lang.String sessionid,
                java.lang.String applicationid,
                java.lang.String threadid,
                java.lang.String account,
                java.lang.String login,
                java.lang.String resourcename,
                java.lang.String stacktrace,
                java.lang.String message,
                java.lang.String exceptionName,
                java.lang.String shortMessage,
                java.lang.String errorURI)
Specified by:
log in interface ILogger

flush

public void flush()
Description copied from interface: ILogger
Implementations should synchronize this method, since flush might be called from multiple threads.

Specified by:
flush in interface ILogger


Copyright 2001-2013 DYNAMIDE.COM. All Rights Reserved.