public class StringEvent
extends org.apache.log4j.spi.LoggingEvent
| Constructor and Description |
|---|
StringEvent(org.apache.log4j.Priority level,
String message)
Create a string event with the specified level and message.
|
StringEvent(String message)
Create a string event with the specified message.
|
StringEvent(String fqnOfCategoryClass,
org.apache.log4j.Category logger,
org.apache.log4j.Priority level,
String message,
Throwable throwable)
Create an event.
|
StringEvent(String fqnOfCategoryClass,
org.apache.log4j.Priority level,
String message)
Create a string event with the specified fqnOfCategoryClass, level and
message.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.log4j.Category |
getCategory()
Get the category for the default category of this LoggingEvent.
|
static String |
getCategoryClass()
Get the category name for the default category of this LoggingEvent.
|
getFQNOfLoggerClass, getLevel, getLocationInformation, getLogger, getLoggerName, getMDC, getMDCCopy, getMessage, getNDC, getProperties, getProperty, getPropertyKeySet, getRenderedMessage, getStartTime, getThreadName, getThrowableInformation, getThrowableStrRep, getTimeStamp, locationInformationExists, removeProperty, setPropertypublic StringEvent(String fqnOfCategoryClass, org.apache.log4j.Category logger, org.apache.log4j.Priority level, String message, Throwable throwable)
fqnOfCategoryClass - the class name of the category.logger - The logger category.level - the level of the message.message - The message.throwable - the exception that caused the message to be logged.public StringEvent(String message)
message - The message.public StringEvent(org.apache.log4j.Priority level,
String message)
level - The priority.message - The message.public StringEvent(String fqnOfCategoryClass, org.apache.log4j.Priority level, String message)
fqnOfCategoryClass - the category class.level - The priority.message - The message.public static String getCategoryClass()
public static org.apache.log4j.Category getCategory()
Copyright © 2015 XENEI.com. All Rights Reserved.