Interface IBuildLogDevice
- Namespace
- Dassie.Extensions
- Assembly
- dc.dll
Defines a mechanism for redirecting Dassie compiler logs to different outputs.
public interface IBuildLogDevice
- Extension Methods
Properties
Name
The name of the build log device.
string Name { get; }
Property Value
SeverityLevel
The error severities at which the log device is active.
BuildLogSeverity SeverityLevel { get; }
Property Value
Methods
Initialize(List<XmlAttribute>, List<XmlNode>)
The method called when the build log device is initialized.
void Initialize(List<XmlAttribute> attributes, List<XmlNode> elements)
Parameters
attributesList<XmlAttribute>The XML attributes passed to the log device.
elementsList<XmlNode>The XML elements passed to the log device.
Log(MessageInfo)
The method called when a compiler message is emitted.
void Log(MessageInfo error)
Parameters
errorMessageInfoThe compiler message that was emitted.
WriteString(string)
The method called when a string is written to the message output.
void WriteString(string input)
Parameters
inputstringThe string to write.