Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

CoreTracing

Functions and values

Function or valueDescription
addListener(l)
Signature: l:ITraceListener -> unit
areListenersSet()
Signature: unit -> bool
defaultConsoleTraceListener
Signature: ITraceListener

The default TraceListener for Console.

ensureConsoleListener()
Signature: unit -> unit
getListeners()
Signature: unit -> ITraceListener list
getTraceListeners
Signature: unit -> ITraceListener list option
importantMessagesToStdErr
Signature: bool
postMessage(x)
Signature: x:TraceData -> unit

Allows to post messages to all trace listeners

setTraceListeners(l)
Signature: l:ITraceListener list -> unit
setTraceListenersPrivate
Signature: ITraceListener list -> unit
traceListenersVar
Signature: string

A List with all registered listeners