com.dynamide.resource
Class HtmlLogger

java.lang.Object
  extended by com.dynamide.resource.HtmlLogger
All Implemented Interfaces:
ILogger

public class HtmlLogger
extends java.lang.Object
implements ILogger


Constructor Summary
HtmlLogger()
           
 
Method Summary
 void connect(ResourceManager rm, java.lang.String configString)
           
 void flush()
          Implementations should synchronize this method, since flush might be called from multiple threads.
 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)
           
 java.lang.String rollLog()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HtmlLogger

public HtmlLogger()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

connect

public void connect(ResourceManager rm,
                    java.lang.String configString)
             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

rollLog

public java.lang.String rollLog()
Returns:
full path of the newly rolled file, or "" if not rolled.


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