ILogger.Error method (1 of 2)
Logs the specified error exception.
public void Error(Exception exception)
| parameter | description |
|---|---|
| exception | The exception. |
Remarks
This method logs the specified exception to the application’s log file. The exception will be logged with a severity of “Error”.
See Also
- interface ILogger
- namespace Autodesk.DataExchange.Core.Interface
ILogger.Error method (2 of 2)
Logs the specified error message.
public void Error(string message, [CallerMemberName] string caller = null)
| parameter | description |
|---|---|
| message | The message. |
| caller | The caller. |
Remarks
This method logs the specified message to the application’s log file. The message will be logged with a severity of “Error”.
See Also
- interface ILogger
- namespace Autodesk.DataExchange.Core.Interface