Class LogItem
- Namespace
- CMS.ContinuousIntegration
- Assembly
- CMS.ContinuousIntegration.dll
Represents one record in log.
public class LogItem
- Inheritance
-
objectLogItem
- Extension Methods
Remarks
Instance of this class is immutable.
Constructors
LogItem(string, LogItemTypeEnum, LogItemActionTypeEnum)
Constructor.
public LogItem(string message, LogItemTypeEnum messageType, LogItemActionTypeEnum actionType)
Parameters
messagestringMessage text.
messageTypeLogItemTypeEnumType of message.
actionTypeLogItemActionTypeEnumType of the action which logged the message.
Properties
ActionType
Type of the action which logged the message
public LogItemActionTypeEnum ActionType { get; }
Property Value
Message
Message text.
public string Message { get; }
Property Value
- string
Type
Type of message.
public LogItemTypeEnum Type { get; }
Property Value
Methods
ToString()
Return type and content of message in single string.
public override string ToString()
Returns
- string