I have a powershell module which writes logs when powershell script executes
PowerShell Module: module.psm1
function Write-Log { [CmdletBinding()]