DebugAppender
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.email.Appender
public class DebugAppender extends Appender
Represents an appender is only enabled when debugging.
Constructors
Constructor | Description |
---|---|
DebugAppender() | Initializes a new instance of the DebugAppender class. |
Methods
Method | Description |
---|---|
append(LogEntry entry) | Appends the specified log entry to the appender. |
appendHeader() | Starts log file with specific header. |
close() | Closes the appender. |
dispose() | Releases the unmanaged resources used by the Appender. |
equals(Object arg0) | |
getClass() | |
getFormatter() | Gets or sets the formatter. |
hashCode() | |
initialize() | Initializes the appender instance. |
notify() | |
notifyAll() | |
setFormatter(IFormatter value) | Gets or sets the formatter. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
DebugAppender()
public DebugAppender()
Initializes a new instance of the DebugAppender class.
append(LogEntry entry)
public void append(LogEntry entry)
Appends the specified log entry to the appender.
Parameters:
Parameter | Type | Description |
---|---|---|
entry | LogEntry | The log entry. |
appendHeader()
public void appendHeader()
Starts log file with specific header.
close()
public void close()
Closes the appender.
dispose()
public final void dispose()
Releases the unmanaged resources used by the Appender.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getFormatter()
public final IFormatter getFormatter()
Gets or sets the formatter.
Returns: IFormatter
hashCode()
public native int hashCode()
Returns: int
initialize()
public void initialize()
Initializes the appender instance.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setFormatter(IFormatter value)
public final void setFormatter(IFormatter value)
Gets or sets the formatter.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IFormatter |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |