The LogWriterBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LogWriterBase |
Creates a new instance of LogWriterBase.
|
Methods
Name | Description | |
---|---|---|
Close |
Closes the log writer.
| |
Dispose()()()() |
Disposes the object.
| |
Dispose(Boolean) |
Releases unmanaged and managed resources (depending on the scenario).
If disposing is false, the method has been called from
the finalizer and should not reference other objects (therefore only unmanaged resources can be disposed).
| |
Equals | Determines whether the specified Object is equal to the current Object. (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. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
Write(LogLevel, Type, Int32, String, String) |
Writes a message into the log.
| |
Write(LogLevel, Type, Int32, String, String, array<Byte>[]()[][], Int32, Int32) |
Writes a message and data block into the log.
| |
WriteMessage |
Appends the specified message text into a text-based log. This method is only called by Write(LogLevel, Type, Int32, String, String) method
and is only used by text-based loggers.
|
Properties
Name | Description | |
---|---|---|
IsClosed |
Get a value indicating whether the log writer is closed.
| |
Level |
Gets or sets the log level - only log messages with log level equal to or greater than the specified one.
|