The MemoryAppender type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| MemoryAppender()()()() |
Constructs a MemoryAppender.
| |
| MemoryAppender(Int32) |
Constructs a MemoryAppender which stores a maximum of maxMessages messages.
|
Methods
| Name | Description | |
|---|---|---|
| Close |
Close this appender
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Log(Exception) |
Log a stack trace
| |
| Log(String) |
Log a message
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) | |
| Write(StreamWriter) |
Write the current content of the log to the given stream.
| |
| Write(String) |
Write the current content of the log to the given file.
|
Fields
| Name | Description | |
|---|---|---|
| DEFAULT_MAX_MESSAGES |
Properties
| Name | Description | |
|---|---|---|
| MaxMessages |
Maximum number of messages stored in the appender.
| |
| Messages |
Messages currently in the appender.
|