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