FAKE - F# Make


TraceHelper

This module contains function which allow to trace build output

Functions and values

Function or valueDescription
closeAllOpenTags ()
Signature: unit -> unit
closeTag tag
Signature: tag:string -> unit

Removes an opening tag from the internal tag stack

console
Signature: ITraceListener
fakePath
Signature: string

Gets the path of the current FAKE instance

fakeVersion
Signature: string

Gets the FAKE version no.

fakeVersionStr
Signature: string

Gets the FAKE Version string

log message
Signature: message:string -> unit

Logs the specified string

logf fmt
Signature: fmt:StringFormat<'?6495,unit> -> '?6495
Type parameters: '?6495

Logs the specified message (without line break)

logfn fmt
Signature: fmt:StringFormat<'?6493,unit> -> '?6493
Type parameters: '?6493

Logs the specified message

logToConsole (msg, eventLogEntry)
Signature: (msg:string * eventLogEntry:EventLogEntryType) -> unit

Traces the message to the console

logVerbosefn fmt
Signature: fmt:StringFormat<'?6497,unit> -> '?6497
Type parameters: '?6497

Logs the specified string if the verbose mode is activated.

openTag tag
Signature: tag:string -> unit

Puts an opening tag on the internal tag stack

trace message
Signature: message:string -> unit

Writes a trace to the command line (in green)

traceEndBuild ()
Signature: unit -> unit

Traces the end of the build

traceEndTarget name
Signature: name:string -> unit

Traces the end of a target

traceEndTask task description
Signature: task:string -> description:string -> unit

Traces the end of a task

TraceEnvironmentVariables ()
Signature: unit -> unit

Traces the EnvironmentVariables

traceError error
Signature: error:string -> unit

Traces an error (in red)

traceException ex
Signature: ex:Exception -> unit

Traces an exception details (in red)

tracef fmt
Signature: fmt:StringFormat<'?6502,unit> -> '?6502
Type parameters: '?6502

Writes a message to the command line (in green) and without a line break

traceFAKE fmt
Signature: fmt:StringFormat<'?6506,unit> -> '?6506
Type parameters: '?6506

Writes a trace to the command line (in yellow)

tracefn fmt
Signature: fmt:StringFormat<'?6500,unit> -> '?6500
Type parameters: '?6500

Writes a message to the command line (in green)

traceHeader name
Signature: name:string -> unit

Traces a header

traceImportant text
Signature: text:string -> unit

Writes a trace to stderr (in yellow)

traceLine ()
Signature: unit -> unit

Traces a line

traceStartBuild ()
Signature: unit -> unit

Traces the begin of the build

traceStartTarget (...)
Signature: name:string -> description:string -> dependencyString:string -> unit

Traces the begin of a target

traceStartTask task description
Signature: task:string -> description:string -> unit

Traces the begin of a task

traceVerbose s
Signature: s:string -> unit

Writes a trace to the command line (in green) if the verbose mode is activated.

Fork me on GitHub