Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Logging
4.2.3
private/Get-LevelName.ps1
function
Get-LevelName
{
[
CmdletBinding
(
)
]
param
(
[int]
$Level
)
$l
=
$LevelNames
[
$Level
]
if
(
$l
)
{
return
$l
}
else
{
return
(
'Level {0}'
-f
$Level
)
}
}