Condividi tramite


FileLogger Class

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class FileLogger _
    Inherits TFLogger _
    Implements IDisposable
public class FileLogger : TFLogger, IDisposable
public ref class FileLogger : public TFLogger, 
    IDisposable
type FileLogger =  
    class 
        inherit TFLogger 
        interface IDisposable 
    end
public class FileLogger extends TFLogger implements IDisposable

The FileLogger type exposes the following members.

Constructors

  Name Description
Public method FileLogger

Top

Properties

  Name Description
Public property FilePath

Top

Methods

  Name Description
Public method CreateObjRef Security 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 method Dispose()
Protected method Dispose(Boolean)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Error(String) (Overrides TFLogger.Error(String).)
Public method Error(Exception) (Inherited from TFLogger.)
Public method Error(String, array<Object[]) (Inherited from TFLogger.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLifetimeService Security Critical. Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Info(String) (Overrides TFLogger.Info(String).)
Public method Info(String, array<Object[]) (Inherited from TFLogger.)
Public method InitializeLifetimeService Security Critical. Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Warning(String) (Overrides TFLogger.Warning(String).)
Public method Warning(Exception) (Inherited from TFLogger.)
Public method Warning(String, array<Object[]) (Inherited from TFLogger.)

Top

Fields

  Name Description
Public fieldStatic member DefaultLogPath

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Common Namespace