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