Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

TraceListener

Defines default listeners for build output traces

Nested types and modules

TypeDescription
ConsoleTraceListener

Implements a TraceListener for System.Console.

ITraceListener

Defines a TraceListener interface

NAntXmlTraceListener

Implements a TraceListener which writes NAnt like XML files.

TraceData

Defines Tracing information for TraceListeners

Functions and values

Function or valueDescription
addXmlListener(xmlOutputFile)
Signature: xmlOutputFile:string -> unit

Allows to register a new Xml listeners

AutoCloseXmlWriter
Signature: bool

Specifies if the XmlWriter should close tags automatically

colorMap(traceData)
Signature: traceData:TraceData -> ConsoleColor

A default color map which maps TracePriorities to ConsoleColors

defaultConsoleTraceListener
Signature: ConsoleTraceListener

The default TraceListener for Console.

importantMessagesToStdErr
Signature: bool
listeners
Signature: List<ITraceListener>

A List with all registered listeners

postMessage(x)
Signature: x:TraceData -> unit

Allows to post messages to all trace listeners

useAnsiColors
Signature: bool