functions/Add-SimpleLogSecret.ps1

function Add-SimpleLogSecret {
    param (
        [string] $Secret
    )

    if ($Secret -NotIn $script:LogSecret){
        $script:LogSecret += $Secret
    }
}