ILogger.LogWarning Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LogWarning(Exception, String, Object[]) |
Formats and writes a warning log message. |
LogWarning(String, Object[]) |
Formats and writes a warning log message. |
LogWarning(EventId, String, Object[]) |
Formats and writes a warning log message. |
LogWarning(EventId, Exception, String, Object[]) |
Formats and writes a warning log message. |
LogWarning(Exception, String, Object[])
Formats and writes a warning log message.
public:
void LogWarning(Exception ^ exception, System::String ^ message, ... cli::array <System::Object ^> ^ args);
public void LogWarning (Exception exception, string message, params object[] args);
abstract member LogWarning : Exception * string * obj[] -> unit
Public Sub LogWarning (exception As Exception, message As String, ParamArray args As Object())
Parameters
- exception
- Exception
The exception related to this entry.
- message
- String
Format string of the scope message.
- args
- Object[]
An object array that contains zero or more objects to format.
Applies to
LogWarning(String, Object[])
Formats and writes a warning log message.
public:
void LogWarning(System::String ^ message, ... cli::array <System::Object ^> ^ args);
public void LogWarning (string message, params object[] args);
abstract member LogWarning : string * obj[] -> unit
Public Sub LogWarning (message As String, ParamArray args As Object())
Parameters
- message
- String
Format string of the scope message.
- args
- Object[]
An object array that contains zero or more objects to format.
Applies to
LogWarning(EventId, String, Object[])
Formats and writes a warning log message.
public:
void LogWarning(Microsoft::Xrm::Sdk::PluginTelemetry::EventId ^ eventId, System::String ^ message, ... cli::array <System::Object ^> ^ args);
public void LogWarning (Microsoft.Xrm.Sdk.PluginTelemetry.EventId eventId, string message, params object[] args);
abstract member LogWarning : Microsoft.Xrm.Sdk.PluginTelemetry.EventId * string * obj[] -> unit
Public Sub LogWarning (eventId As EventId, message As String, ParamArray args As Object())
Parameters
- eventId
- EventId
Id of the event.
- message
- String
Format string of the scope message.
- args
- Object[]
An object array that contains zero or more objects to format.
Applies to
LogWarning(EventId, Exception, String, Object[])
Formats and writes a warning log message.
public:
void LogWarning(Microsoft::Xrm::Sdk::PluginTelemetry::EventId ^ eventId, Exception ^ exception, System::String ^ message, ... cli::array <System::Object ^> ^ args);
public void LogWarning (Microsoft.Xrm.Sdk.PluginTelemetry.EventId eventId, Exception exception, string message, params object[] args);
abstract member LogWarning : Microsoft.Xrm.Sdk.PluginTelemetry.EventId * Exception * string * obj[] -> unit
Public Sub LogWarning (eventId As EventId, exception As Exception, message As String, ParamArray args As Object())
Parameters
- eventId
- EventId
Id of the event.
- exception
- Exception
The exception related to this entry.
- message
- String
Format string of the scope message.
- args
- Object[]
An object array that contains zero or more objects to format.