Show / Hide Table of Contents

LogWarn(Exception,String,Object[]) Method

The exception that is related to this entry. The details of the exception will be written to the configured appender(s).

A format string with replacement parameters  that will be replaced by the args parameters.

Arguments to use in replacing variables in the format string.

Writes a WARN-level log entry if WARN-level logging is enabled as well as the details of an exception that was caught.

Syntax

'Declaration

Public Overloads Sub LogWarn( _
   ByVal _ex_ As Exception, _
   ByVal _format_ As String, _
   ByVal ParamArray _args_() As Object _
) 
public void LogWarn( 
   Exception _ex_,
   string _format_,
   params object[] _args_
)

Parameters

ex

The exception that is related to this entry. The details of the exception will be written to the configured appender(s).

format

A format string with replacement parameters  that will be replaced by the args parameters.

args

Arguments to use in replacing variables in the format string.

Remarks

If the current logger is not configured for WARN-level logging or lower, this method will do nothing.

Requirements

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

Reference

Logger Class
Logger 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.