Package org.wso2.carbon.utils.logging
Class TenantAwareLoggingEvent
- java.lang.Object
-
- org.apache.log4j.spi.LoggingEvent
-
- org.wso2.carbon.utils.logging.TenantAwareLoggingEvent
-
- All Implemented Interfaces:
Serializable
public class TenantAwareLoggingEvent extends org.apache.log4j.spi.LoggingEventDeprecated.tenantId is appended using Log4J2 ConverterThis class is used to store information regarding a LogEvent along with tenant information.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TenantAwareLoggingEvent(String fqnOfCategoryClass, org.apache.log4j.Category logger, long timeStamp, org.apache.log4j.Priority level, Object message, Throwable throwable)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetServiceName()Deprecated.StringgetTenantId()Deprecated.voidsetServiceName(String serviceName)Deprecated.voidsetTenantId(String tenantId)Deprecated.-
Methods inherited from class org.apache.log4j.spi.LoggingEvent
getFQNOfLoggerClass, getLevel, getLocationInformation, getLogger, getLoggerName, getMDC, getMDCCopy, getMessage, getNDC, getProperties, getProperty, getPropertyKeySet, getRenderedMessage, getStartTime, getThreadName, getThrowableInformation, getThrowableStrRep, getTimeStamp, locationInformationExists, removeProperty, setProperty
-
-