TraceLogger Class

A logger that only traces. Can be used as the default logger when no logger is supplied.

System.Object
  System.MarshalByRefObject
    Microsoft.TeamFoundation.Common.TFLogger
      Microsoft.TeamFoundation.Common.TraceLogger

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

public class TraceLogger : TFLogger

The TraceLogger type exposes the following members.

  NameDescription
Public methodTraceLogger
Top

  NameDescription
Public methodCreateObjRefSecurity Critical. Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodError(Exception) (Inherited from TFLogger.)
Public methodError(String) (Overrides TFLogger.Error(String).)
Public methodError(String, Object[]) (Inherited from TFLogger.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetLifetimeServiceSecurity Critical. Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInfo(String) (Overrides TFLogger.Info(String).)
Public methodInfo(String, Object[]) (Inherited from TFLogger.)
Public methodInitializeLifetimeServiceSecurity Critical. Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone()Creates a shallow copy of the current Object. (Inherited from Object.)
Protected methodMemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWarning(Exception) (Inherited from TFLogger.)
Public methodWarning(String) (Overrides TFLogger.Warning(String).)
Public methodWarning(String, Object[]) (Inherited from TFLogger.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft