Поділитися через


DataCacheClientLogManager.ChangeLogLevel Method

Changes the logging level of the Event Tracing for Windows (ETW) log for Windows Server AppFabric caching features.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Core (in microsoft.applicationserver.caching.core.dll)

Usage

'Usage
Dim level As TraceLevel
Dim returnValue As TraceLevel

returnValue = DataCacheClientLogManager.ChangeLogLevel(level)

Syntax

'Declaration
Public Shared Function ChangeLogLevel ( _
    level As TraceLevel _
) As TraceLevel
public static TraceLevel ChangeLogLevel (
    TraceLevel level
)
public:
static TraceLevel ChangeLogLevel (
    TraceLevel level
)
public static TraceLevel ChangeLogLevel (
    TraceLevel level
)
public static function ChangeLogLevel (
    level : TraceLevel
) : TraceLevel

Parameters

  • level
    The trace level for the log.

Return Value

Returns TraceLevel.

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

Development Platforms

Visual Studio 2010 and later, .NET Framework 4

Target Platforms

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2

See Also

Reference

DataCacheClientLogManager Class
DataCacheClientLogManager Members
Microsoft.ApplicationServer.Caching Namespace

  ff425062(v=azure.10).md 2011-08-26