Show / Hide Table of Contents

SetLoggerLevel(String,LogLevel) Method

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 name) logging level.

Syntax

'Declaration

Public Overloads Shared Sub SetLoggerLevel( _
   ByVal _loggerName_ As String, _
   ByVal _level_ As LogLevel _
) 
public static void SetLoggerLevel( 
   string _loggerName_,
   LogLevel _level_
)

Parameters

loggerName

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 2003 family

Reference

LogManager Class
LogManager Members
Overload List

Back to top © 2018 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.