OperationContext.DefaultLogLevel Property

Windows Runtime Azure Storage Client Library

Gets or sets the default logging level to be used for subsequently created instances of the OperationContext class.

Namespace: Microsoft.WindowsAzure.Storage
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim value As LogLevel

value = OperationContext.DefaultLogLevel

OperationContext.DefaultLogLevel = value

Syntax

Visual Basic
Public Shared Property DefaultLogLevel As LogLevel
C#
public static LogLevel DefaultLogLevel { get; set; }
C++
public:
static property LogLevel DefaultLogLevel {
	LogLevel get ();
	void set (LogLevel value);
}
J#
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public static LogLevel get_DefaultLogLevel ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public static void set_DefaultLogLevel (LogLevel value)
JScript
CompilerGeneratedAttribute 
public static function get DefaultLogLevel () : LogLevel

CompilerGeneratedAttribute 
public static function set DefaultLogLevel (value : LogLevel)

Property Value

A value of type LogLevel that specifies which events are logged by default by instances of the OperationContext.

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

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also