Skip to content

Commit

Permalink
Remove f format on error and important
Browse files Browse the repository at this point in the history
  • Loading branch information
BlythMeister authored Jun 7, 2018
1 parent da3a46b commit b5a06dc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/app/Fake.Core.Trace/Trace.fs
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ let traceImportant text = CoreTracing.postMessage (TraceData.ImportantMessage te
/// Writes a message to stderr (in yellow)
let traceImportantfn fmt = Printf.ksprintf traceImportant fmt

/// Writes a message to stderr (in yellow) and without a line break
let traceImportantf fmt = Printf.ksprintf (fun text -> CoreTracing.postMessage (TraceData.ImportantMessage(text))) fmt

/// Writes a trace to the command line (in yellow)
let traceFAKE fmt = Printf.ksprintf (TraceData.ImportantMessage >> CoreTracing.postMessage) fmt

Expand All @@ -59,9 +56,6 @@ let traceError error = CoreTracing.postMessage (TraceData.ErrorMessage error)
/// Writes an error message to stderr (in red)
let traceErrorfn fmt = Printf.ksprintf traceError fmt

/// Writes an error message to stderr (in red) and without a line break
let traceErrorf fmt = Printf.ksprintf (fun text -> CoreTracing.postMessage (TraceData.ErrorMessage(text))) fmt

open Microsoft.FSharp.Core.Printf

/// Converts an exception and its inner exceptions to a nice string.
Expand Down

0 comments on commit b5a06dc

Please sign in to comment.