Modify debug messages
This commit is contained in:
parent
ba51b397d5
commit
60d7e7bf83
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
Write-Output "chargement du module"
|
Write-Debug "Utils module loaded"
|
||||||
|
|
||||||
function Get-LogTimeStamp {
|
function Get-LogTimeStamp {
|
||||||
return (Get-Date).toString("yyyy.MM.dd HH:mm:ss")
|
return (Get-Date).toString("yyyy.MM.dd HH:mm:ss")
|
||||||
|
@ -16,7 +16,7 @@ function ConvertTo-CmdlineOptions {
|
||||||
$sep=" "
|
$sep=" "
|
||||||
)
|
)
|
||||||
|
|
||||||
Write-Debug "Call parse_options with $options, separator: `"$sep`""
|
Write-Debug "Call ConvertTo-CmdlineOptions with $options, separator: `"$sep`""
|
||||||
$opt = ""
|
$opt = ""
|
||||||
if ($options -eq $false) {
|
if ($options -eq $false) {
|
||||||
return ""
|
return ""
|
||||||
|
@ -81,4 +81,4 @@ function Set-Message {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Export-ModuleMember -Function ConvertTo-CmdlineOptions, Set-Message, Set-Warning, Set-Error
|
Export-ModuleMember -Function ConvertTo-CmdlineOptions, Set-Message, Set-Warning, Set-Error
|
||||||
|
|
Reference in a new issue