Public/Get-LogLevel.ps1
function Get-LogLevel { <# .Synopsis Gets the value of the logger configured logLevel .EXAMPLE $configedLogLevel - Get-LogLevel #> foreach ($key in $script:logLevelOptions.GetEnumerator() | Where-Object { $_.Value -eq $script:LogLevel }) { $key.Name } } Export-ModuleMember -Function Get-LogLevel |