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 family