Table of Contents

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

string

SeverityLevel

The error severities at which the log device is active.

BuildLogSeverity SeverityLevel { get; }

Property Value

BuildLogSeverity

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

attributes List<XmlAttribute>

The XML attributes passed to the log device.

elements List<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

error MessageInfo

The compiler message that was emitted.

WriteString(string)

The method called when a string is written to the message output.

void WriteString(string input)

Parameters

input string

The string to write.