Provides a property and methods for writing event and exception information to the application's log listeners.
| C# | Visual Basic |
public class Log
Public Class Log
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Log()()()() |
Initializes a new instance of the Log class.
| |
| Log(String) |
Initializes a new instance of the Log class.
| |
| DefaultFileLogWriter |
Gets the file the FileLogTraceListener object that underlies the Log object.
| |
| Equals(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.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| InitializeWithDefaultsSinceNoConfigExists()()()() |
Creates a new FileLogTraceListener object and adds it to the Listeners collection.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString()()()() | (Inherited from Object.) | |
| WriteEntry(String) |
Writes a message to the application's log listeners.
| |
| WriteEntry(String, TraceEventType) |
Writes a message to the application's log listeners.
| |
| WriteEntry(String, TraceEventType, Int32) |
Writes a message to the application's log listeners.
| |
| WriteException(Exception) |
Writes exception information to the application's log listeners.
| |
| WriteException(Exception, TraceEventType, String) |
Writes exception information to the application's log listeners.
| |
| WriteException(Exception, TraceEventType, String, Int32) |
Writes exception information to the application's log listeners.
|
| Object | |
| Log | |