This class is used to create an HTTP connection to the Log Server, where
LogEntry objects can be sent and recorded. The LogConnection contains the
hostname and port of the Log Server.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class LogConnection
Public Class LogConnection
public ref class LogConnection
Members
All Members | Constructors | Methods | |||
Icon | Member | Description |
---|---|---|
LogConnectionLogConnectionNew(String, Int32) |
Initialize a LogConnection.
| |
LogConnectionLogConnectionNew(String, String) |
Initialize a LogConnection.
| |
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. 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.) | |
log(LogEntry) |
Sends a log request to the Log Server without waiting for a response.
Using this method instead of LogAndWait() can improve performance,
because the extra step of insuring the Log Server received the
request is not performed.
| |
logAndWait(LogEntry) |
Sends a log request to the server, and reads the response
| |
MemberwiseClone()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString()() | (Inherited from Object.) |
Inheritance Hierarchy
Object | |
LogConnection |