Interface ITransferLogger
Contains log information about an export or import execution
Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public interface ITransferLoggerProperties
Errors
A collection of errors that has been captured during execution.
Declaration
StringCollection Errors { get; }Property Value
| Type | Description | 
|---|---|
| System.Collections.Specialized.StringCollection | 
Status
A collection of warnings that has been added by calls to the LogWarning method.
Declaration
StatusInfo Status { get; }Property Value
| Type | Description | 
|---|---|
| StatusInfo | 
Warnings
A collection of warnings that has been captured during execution.
Declaration
StringCollection Warnings { get; }Property Value
| Type | Description | 
|---|---|
| System.Collections.Specialized.StringCollection | 
Methods
Error(String, Exception, Object[])
Logs an error message.
Declaration
void Error(string errormsg, Exception e, params object[] args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | errormsg | The error message | 
| System.Exception | e | The generated exception message | 
| System.Object[] | args | Optional arguments. | 
GetInformationLog(StatusInfo.StatusInfoAction)
Gets log messages about a specific action
Declaration
StringCollection GetInformationLog(StatusInfo.StatusInfoAction action)Parameters
| Type | Name | Description | 
|---|---|---|
| StatusInfo.StatusInfoAction | action | 
Returns
| Type | Description | 
|---|---|
| System.Collections.Specialized.StringCollection | 
Warning(String, Object[])
Logs a warning message.
Declaration
void Warning(string warning, params object[] args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | warning | |
| System.Object[] | args | 
