Public/ps1/Log/Log.ps1
Function Log { param( [Parameter(Mandatory=$true)][String]$msg ) $logFile = $LogManagement.LogFolder $data = (Get-date).ToString() + " " + $msg Add-Content $logFile $data } |
Function Log { param( [Parameter(Mandatory=$true)][String]$msg ) $logFile = $LogManagement.LogFolder $data = (Get-date).ToString() + " " + $msg Add-Content $logFile $data } |