Trace Module
This module contains function which allow to trace build output
Types
| Type | Description | 
Functions and values
| Function or value | Description | 
            
                
              
              
                  Full Usage: 
                   
              Trace.closeAllOpenTags ()
                  Parameters: 
 unit
                    
                     | 
          
            
            
  | 
        
            
                
              
               | 
          
            
            
  | 
        
            
                
              
              
             | 
          |
            
                
              
              
                  Full Usage: 
                   
              Trace.exceptionAndInnersToString ex
                  Parameters: 
 Exception
                       - 
                      The exception to convert
                    
                    Returns: string
                  
                   | 
          
            
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.isVerbose printHint
                  Parameters: 
 bool
                       - 
                      Flag to mark if a hint will be written to log for verbosity
                    
                    Returns: bool
                  
                   | 
          
            
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.log message
                  Parameters: 
 string
                       - 
                      The message to log
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.logItems message items
                  Parameters: 
 string
                       - 
                      The message to log
                    
                    items : seq<string>
                       - 
                      The files to log message to
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.logToConsole (msg, eventLogEntry)
                  Parameters: 
 string
                       - 
                      The message to log
                    
                    eventLogEntry : EventLogEntryType
                       - 
                      The message log level
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.logVerbosefn fmt
                  Parameters: 
 StringFormat<'a, unit>
                       - 
                      The formatted message to log
                    
                    Returns: 'a
                  
                   | 
          
            
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.logf fmt
                  Parameters: 
 StringFormat<'a, unit>
                       - 
                      The formatted message to log
                    
                    Returns: 'a
                  
                   | 
          
            
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.logfn fmt
                  Parameters: 
 StringFormat<'a, unit>
                       - 
                      The formatted message to log
                    
                    Returns: 'a
                  
                   | 
          
            
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.openTagUnsafe tag description
                  Parameters: 
 KnownTags
                       - 
                      The tag to insert
                    
                    description : string
                       - 
                      The tag description
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.publish typ path
                  Parameters: 
 ImportData
                       - 
                      The type to publish
                    
                    path : string
                       - 
                      The path to publish type to
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.setBuildNumber number
                  Parameters: 
 string
                       - 
                      The build number to trace
                    
                     | 
          
            
            
  | 
        
            
                
              
               | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.setBuildStateWithMessage tag message
                  Parameters: 
 TagStatus
                       - 
                      The tag to trace
                    
                    message : string
                       - 
                      the build message
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.setVerbose ()
                  Parameters: 
 unit
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.testOutput testName out err
                  Parameters: 
 string
                       - 
                      The test name
                    
                    out : string
                       - 
                      The test output
                    
                    err : string
                       - 
                      The test error
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.testStatus testName testStatus
                  Parameters: 
 string
                       - 
                      The test name
                    
                    testStatus : TestStatus
                       - 
                      The test status
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.trace message
                  Parameters: 
 string
                       - 
                      The message to log
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceEndFailureTargetUnsafeEx state name
                  Parameters: 
 TagStatus
                       - 
                      The target state
                    
                    name : string
                       - 
                      The name of the target
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceEndFinalTargetUnsafeEx state name
                  Parameters: 
 TagStatus
                       - 
                      The target state
                    
                    name : string
                       - 
                      The name of the target
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceEndTargetUnsafe name
                  Parameters: 
 string
                       - 
                      The name of the target
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceEndTargetUnsafeEx state name
                  Parameters: 
 TagStatus
                       - 
                      The target state
                    
                    name : string
                       - 
                      The name of the target
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceEndTaskUnsafe task
                  Parameters: 
 string
                       - 
                      The name of the task
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceEndTaskUnsafeEx state task
                  Parameters: 
 TagStatus
                       - 
                      The state of the task
                    
                    task : string
                       - 
                      The name of the task
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceEnvironmentVariables ()
                  Parameters: 
 unit
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceError error
                  Parameters: 
 string
                       - 
                      The error message to trace
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceErrorfn fmt
                  Parameters: 
 StringFormat<'a, unit>
                       - 
                      The formatted error message to trace
                    
                    Returns: 'a
                  
                   | 
          
            
            
 
  | 
        
            
                
              
               | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceFAKE fmt
                  Parameters: 
 StringFormat<'a, unit>
                       - 
                      The formatted message to trace
                    
                    Returns: 'a
                  
                   | 
          
            
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceFailureTarget name description dependencyString
                  Parameters: 
 string
                       - 
                      The name of the target
                    
                    description : string
                       - 
                      The description of the target
                    
                    dependencyString : string
                       - 
                      The target dependency string
                    
                    Returns: ISafeDisposable
                  
                   | 
          
            
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceFinalTarget name description dependencyString
                  Parameters: 
 string
                       - 
                      The name of the target
                    
                    description : string
                       - 
                      The description of the target
                    
                    dependencyString : string
                       - 
                      The target dependency string
                    
                    Returns: ISafeDisposable
                  
                   | 
          
            
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceHeader name
                  Parameters: 
 string
                       - 
                      The header value
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceImportant text
                  Parameters: 
 string
                       - 
                      The text to trace
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceImportantfn fmt
                  Parameters: 
 StringFormat<'a, unit>
                       - 
                      The formatted message to trace
                    
                    Returns: 'a
                  
                   | 
          
            
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceLine ()
                  Parameters: 
 unit
                    
                     | 
          
            
            
  | 
        
            
                
              
                  Full Usage: 
                   
              Trace.traceStartFailureTargetUnsafe name description dependencyString
                  Parameters: 
 string
                       - 
                      The name of the target
                    
                    description : string
                       - 
                      The description of the target
                    
                    dependencyString : string
                       - 
                      The target dependency string
                    
                     | 
          
            
            
  | 
        
            
                
              
                  Full Usage: 
                   
              Trace.traceStartFinalTargetUnsafe name description dependencyString
                  Parameters: 
 string
                       - 
                      The name of the target
                    
                    description : string
                       - 
                      The description of the target
                    
                    dependencyString : string
                       - 
                      The target dependency string
                    
                     | 
          
            
            
  | 
        
            
                
              
                  Full Usage: 
                   
              Trace.traceStartTargetUnsafe name description dependencyString
                  Parameters: 
 string
                       - 
                      The name of the target
                    
                    description : string
                       - 
                      The description of the target
                    
                    dependencyString : string
                       - 
                      The target dependency string
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceStartTaskUnsafe task description
                  Parameters: 
 string
                       - 
                      The name of the task
                    
                    description : string
                       - 
                      The description of the task
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceTag tag description
                  Parameters: 
 KnownTags
                       - 
                      The tag to trace
                    
                    description : string
                       - 
                      the tag description
                    
                    Returns: ISafeDisposable
                  
                   | 
          
            
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceTarget name description dependencyString
                  Parameters: 
 string
                       - 
                      The name of the target
                    
                    description : string
                       - 
                      The description of the target
                    
                    dependencyString : string
                       - 
                      The target dependency string
                    
                    Returns: ISafeDisposable
                  
                   | 
          
            
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceTask name description
                  Parameters: 
 string
                       - 
                      The name of the task
                    
                    description : string
                       - 
                      The description of the task
                    
                    Returns: ISafeDisposable
                  
                   | 
          
            
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.traceVerbose s
                  Parameters: 
 string
                       - 
                      The message to trace
                    
                     | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.tracef fmt
                  Parameters: 
 StringFormat<'a, unit>
                       - 
                      The formatted message to log
                    
                    Returns: 'a
                  
                   | 
          
            
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.tracefn fmt
                  Parameters: 
 StringFormat<'a, unit>
                       - 
                      The formatted message to log
                    
                    Returns: 'a
                  
                   | 
          
            
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Trace.useWith automaticSuccess func trace
                  Parameters: 
 bool
                       - 
                      Flag to mark trace task as success
                    
                    func : ISafeDisposable -> 'a
                       - 
                      Callback to call on result of task trace
                    
                    trace : ISafeDisposable
                       - 
                      The trace instance
                    
                    Returns: 'a
                  
                  Modifiers: inline  | 
          
             
                 
               
                 
               
                 
              
              Allows automatic or manual tracing around a function being run If in automatic success mode and no exception is thrown then trace is marked as success Any exception thrown will result in a mark failed and exception re-thrown 
 
  |