Skip to content

api_function_writegithubactionsdebug

hugoalh edited this page Nov 9, 2023 · 10 revisions

Write-GitHubActionsDebug

  • Type: Function
  • In Version: >= v0.3.0

Prints a debug message to the log.

  • Write-GitHubActionsDebug
      [-Message] <String>
      [-SkipEmptyLine]
      [-PassThru]

Parameter

Message

<String> Message that need to log at debug level.

  • Position: 0
  • Accept Pipeline Input: True βœ”οΈ
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Accept Wildcard Characters: False ❌
  • Alias:
    • Content

PassThru

[Optional] <Switch> Return the message. By default, this function does not generate any output.

  • Position: Named
  • Accept Pipeline Input By Property Name: False ❌

SkipEmptyLine

[Optional] <Switch> Whether to skip empty line.

  • Position: Named
  • Accept Pipeline Input By Property Name: False ❌
  • Alias:
    • NoEmptyLine

Output

  • <String> When use the parameter PassThru, this function return the message.
  • <Void> By default, this function does not generate any output.

Guide

API

Enum

Enum Flag

Function

Function Alias

Clone this wiki locally