Show / Hide Table of Contents

SetLoggerLevel(Type,LogLevel) Method

The type which represents the name of the logger whose level is to be set.

The level at which the logger should start logging.

Changes a specific logger's (specified by type) logging level.

Syntax

'Declaration

Public Overloads Shared Sub SetLoggerLevel( _
   ByVal _loggerType_ As Type, _
   ByVal _level_ As LogLevel _
) 
public static void SetLoggerLevel( 
   Type _loggerType_,
   LogLevel _level_
)

Parameters

loggerType

The type which represents the name of the logger whose level is to be set.

level

The level at which the logger should start logging.

Remarks

NOTE: After you are finished configuring LogManager, you must call Reconfigure in order for the changes to fully take effect.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family

Reference

LogManager Class
LogManager Members
Overload List

Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.