CustomLogEvent class | HCL Digital Experience

Get an overview of the CustomLogEvent class and its methods.

The CustomLogEvent class is used to access the data logged with a CustomLog bean.
public class extends
                                                       implements Serializable
Table 1. Method summary
Method Explanation
public CustomLogEvent( HttpServletRequest request,
                       Hashtable          customData )
public Hashtable getCustomData( )
Returns the custom data as key value information. Since a single custom data key can have multiple values, the custom data values are stored in the hashtable as String arrays.
public void setCustomData( Hashtable customData )
Sets the custom data for this event. Can be used by custom listeners to replace the data in this custom data event.
public String toString( )
Returns a String representation of this event.