com.sapportals.portal.prt.service.soap.log
Interface ISOAPLogger


public interface ISOAPLogger

Central logger for all log generated during SOAP Framework life


Field Summary
static java.lang.String LOGGER_NAME
           
 
Method Summary
 void activeLogger(boolean flag)
          active the logger note: if logger is activated by this way the config service property will not be updated.
 void close()
          close the loger
 java.lang.String getContentLog()
          Gest the content of the log
 java.lang.String getPathFile()
          Gets the path file of the log file
 boolean isActive()
          is Active
 void writeInfo(java.lang.Object actor, java.lang.String message)
          write information in the logger
 void writeInfo(java.lang.Object actor, java.lang.String message, java.lang.Exception ex)
          write information in the logger
 void writeInfo(java.lang.Object actor, java.lang.String message, javax.xml.soap.SOAPMessage soapmsg)
          write information in the logger
 

Field Detail

LOGGER_NAME

public static final java.lang.String LOGGER_NAME
Method Detail

writeInfo

public void writeInfo(java.lang.Object actor,
                      java.lang.String message)
write information in the logger
Parameters:
actor - the actor of the log
message - the message

writeInfo

public void writeInfo(java.lang.Object actor,
                      java.lang.String message,
                      java.lang.Exception ex)
write information in the logger
Parameters:
actor - the actor of the log
message - the message
ex - the exception to log

writeInfo

public void writeInfo(java.lang.Object actor,
                      java.lang.String message,
                      javax.xml.soap.SOAPMessage soapmsg)
write information in the logger
Parameters:
actor - the actor of the log
message - the message
soapmsg - the current SOAPMessage

getContentLog

public java.lang.String getContentLog()
Gest the content of the log
Returns:
the log content

isActive

public boolean isActive()
is Active
Returns:
the state

activeLogger

public void activeLogger(boolean flag)
active the logger note: if logger is activated by this way the config service property will not be updated.
Parameters:
flag - the value of the active logger (true if activated, false else)

close

public void close()
close the loger

getPathFile

public java.lang.String getPathFile()
Gets the path file of the log file
Returns:
the path file