TraceLogger.Log Method (Exception)

Logs an error with an exception

Namespace: Microsoft.Crm.UnifiedServiceDesk.CommonUtility
Assembly: Microsoft.Crm.UnifiedServiceDesk.CommonUtility (in Microsoft.Crm.UnifiedServiceDesk.CommonUtility.dll)

Usage

'Usage
Dim instance As TraceLogger
Dim exception As Exception

instance.Log(exception)

Syntax

'Declaration
Public Sub Log ( _
    exception As Exception _
)
public void Log (
    Exception exception
)
public:
void Log (
    Exception^ exception
)
public void Log (
    Exception exception
)
public function Log (
    exception : Exception
)

Parameters

  • exception
    Specifies the exception object.

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.

Platforms

See Also

Reference

TraceLogger Class
TraceLogger Members
Microsoft.Crm.UnifiedServiceDesk.CommonUtility Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.