Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An abstract base class to unify logging so common library methods can be used in multiple scenarios such as on-premise install with logging to disk, servicing with detail log data to configDb and Microsoft Azure cloud console scenarios where auditing and logging is a separate database.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
Microsoft.TeamFoundation.Common.TFLogger
Microsoft.TeamFoundation.Common.FileLogger
Microsoft.TeamFoundation.Common.MarshalByRefLogger
Microsoft.TeamFoundation.Common.TraceLogger
Microsoft.TeamFoundation.Framework.Server.ServerTraceLogger
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public MustInherit Class TFLogger _
Inherits MarshalByRefObject _
Implements ITFLogger
public abstract class TFLogger : MarshalByRefObject,
ITFLogger
public ref class TFLogger abstract : public MarshalByRefObject,
ITFLogger
[<AbstractClass>]
type TFLogger =
class
inherit MarshalByRefObject
interface ITFLogger
end
public abstract class TFLogger extends MarshalByRefObject implements ITFLogger
The TFLogger type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
TFLogger |
Top
Methods
Name | Description | |
---|---|---|
![]() |
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.) |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Error(Exception) | |
![]() |
Error(String) | |
![]() |
Error(String, array<Object[]) | |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetLifetimeService | Security Critical. Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Info(String) | |
![]() |
Info(String, array<Object[]) | |
![]() |
InitializeLifetimeService | Security Critical. Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
Warning(Exception) | |
![]() |
Warning(String) | |
![]() |
Warning(String, array<Object[]) |
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.