< Back

Set-DevartLogger

Mon Jan 13, 2020 7:08 pm

NAME Set-DevartLogger



SYNOPSIS

Configure the logger to write tracing information.





SYNTAX

Set-DevartLogger -TraceLevel {Off | Error | Warning | Info | Verbose} [-OutputFile <string>] [<CommonParameters>]





DESCRIPTION

Returns false if the tests are filed; otherwise true.





PARAMETERS

-TraceLevel <TraceLevel>

Specifies the trace level of the messages that will be output in cmdlet-s.



Possible values: Off, Error, Warning, Info, Verbose



Required? true

Position? named

Default value Off

Accept pipeline input? false

Accept wildcard characters? false



-OutputFile <string>

Path to the output file for logging. If not set the file will be saved in directory that serves as a common

repository for application-specific data for the current roaming user.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Boolean





---------- EXAMPLE 1 ----------



Set-DevartLogger -TraceLevel Verbose OutputFile

C:\\Users\\[UserName]\\AppData\\Roaming\\Devart\\[ProductName]\\DevOpsAutomation_yyyy-MM-dd_HH-mm-ss.log





RELATED LINKS