Includes/pwsh.fw.core.default.conf.ps1
$Script:indent = "" $Script:IndentLength = 3 $Script:IndentChar = " " $Script:prepend = " * " $Script:postpend = "" # MessageDisplayFormat is a string following -f powershell operator syntax # {0} is the message title (message type) # {1} is the indentation # {2} is the message text $Script:MessageDisplayFormat = " * {0,3}: {1}{2}" # another example of MessageDisplayFormat # $Script:MessageDisplayFormat = "[{0,4}] {2}" # example without type but with indentation # $Script:MessageDisplayFormat = "{1}{2}" # same example without indentation. only print message # $Script:MessageDisplayFormat = "{2}" $Script:DisplaySeverity = $true $Script:titleChar = "*" $Script:lineBreakChar = "-" # display type of messages (not mandatory, but useful in a logfile) $Script:BeginTitle = "BEG" $Script:DebugTitle = "DBG" $Script:DevelTitle = "DEV" $Script:EnterTitle = ">>>" $Script:LeaveTitle = "<<<" $Script:EnterFunctionTitle = ">> " # not really a title, as the title of EnterFunction is $DevelTitle $Script:LeaveFunctionTitle = "<< " # not really a title, as the title of LeaveFunction is $DevelTitle $Script:ErrorTitle = "ERR" # $Script:FatalTitle = "ERR" # unused, the ErrorTitle is used $Script:InfoTitle = "INF" $Script:MessageTitle = "MSG" $Script:QuestionTitle = "ASK" $Script:TodoTitle = "TDO" $Script:TitleTitle = "TIT" $Script:VerboseTitle = "VRB" $Script:WarningTitle = "WRN" $Script:BannerChar = "*" # color according to message type $Script:BeginColor = "Gray" $Script:DebugColor = "Gray" $Script:DevelColor = "DarkGray" $Script:EnterColor = "Gray" $Script:LeaveColor = "Gray" # this use Write-Devel, so it use the DevelColor # $Script:EnterFunctionColor = "DarkGray" # $Script:LeaveFunctionColor = "DarkGray" $Script:ErrorColor = "Red" # Write-Fatal call Write-Error, so it use ErrorColor # $Script:FatalColor = "Red" $Script:InfoColor = "White" $Script:MessageColor = "Gray" $Script:QuestionColor = "Cyan" $Script:TitleColor = "Green" $Script:TodoColor = "Magenta" $Script:VerboseColor = "Gray" $Script:WarningColor = "Yellow" # RCPosition specify the position of return codes on screen. Value can be # * BEGIN : display return code at the beginning of the line # * END : display return code at the end of the line of the terminal # * HALF : display return code at half the width of the terminal # * FLOW : display return code in the terminal flow $Script:RCPosition = 'HALF' $Script:RCLength = 8 $Script:RCOpenChar = '[' $Script:RCCloseChar = ']' $Script:RCDisplayFormat = "[{0,6}]" # if true, all Write-* function will pass through to builtin Microsoft.PowerShell.Utility\Write-* equivalent $Script:WritePassThru = $false |