XdtTransformationLog Class

Summary

Implementation of IXmlTransformationLogger that simply saves all entries.
Assembly
Cake.XdtTransform.dll
Namespace
Cake.XdtTransform
Interfaces
  • IXmlTransformationLogger
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IXmlTransformationLogger"] Type["XdtTransformationLog"] class Type type-node

Syntax

public class XdtTransformationLog : IXmlTransformationLogger

Constructors

Name Summary
XdtTransformationLog()

Fields

Name Constant Value Summary
Error Error
String marker for entries containing errors.
static
Exception Exception
String marker for entries containing exceptions.
static
Message Message
String marker for entries containing messages.
static
Section Section
String marker for entries entries containing section start'end information.
static
Warning Warning
String marker for entries containing warnings.
static

Properties

Name Value Summary
HasError bool
True if at least one entry was for an error.
HasException bool
True if at least one entry was for an exception.
HasWarning bool
True if at least one entry was for a warning.
Log List<XdtTransformationLogEntry>
Log entries.

Methods

Name Value Summary
EndSection(MessageType, string, object[]) void
Logging interface implementation.
EndSection(string, object[]) void
Logging interface implementation.
LogError(string, int, int, string, object[]) void
Logging interface implementation.
LogError(string, object[]) void
Logging interface implementation.
LogError(string, string, object[]) void
Logging interface implementation.
LogErrorFromException(Exception) void
Logging interface implementation.
LogErrorFromException(Exception, string) void
Logging interface implementation.
LogErrorFromException(Exception, string, int, int) void
Logging interface implementation.
LogMessage(MessageType, string, object[]) void
Logging interface implementation.
LogMessage(string, object[]) void
Logging interface implementation.
LogWarning(string, int, int, string, object[]) void
Logging interface implementation.
LogWarning(string, object[]) void
Logging interface implementation.
LogWarning(string, string, object[]) void
Logging interface implementation.
StartSection(MessageType, string, object[]) void
Logging interface implementation.
StartSection(string, object[]) void
Logging interface implementation.

Extension Methods

Name Value Summary
Dump<XdtTransformationLog>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<XdtTransformationLog>(XdtTransformationLog[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<XdtTransformationLog>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<XdtTransformationLog>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<XdtTransformationLog>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<XdtTransformationLog>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin