File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
en/ExtensionDocs/Api/windows Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 11# createOutputChannel
22
3- 创建一个输出控制台通道,可用于在控制台输出文本内容。
3+ Creates a new output channel with the given name.
44
55## Introduce
66
77** Parameter**
88
99| Name | Type | Description |
1010| -- | -- | -- |
11- | channel | String | 控制台通道名称,在添加内容到控制台时,会将该名称作为前缀输出,eg: [ ${ channel} ] 这是要输出的内容。 |
11+ | channel | String | Human-readable string which will be used to represent the channel in the UI. |
1212
1313** Returns**
1414
1515| Type | Description |
1616| -- | -- |
17- | [ OutputChannel] ( #OutputChannel ) | 控制台通道 |
17+ | [ OutputChannel] ( #OutputChannel ) | OutputChannel |
1818
1919** Example**
2020
2626
2727## OutputChannel
2828
29- > 输出通道,在添加内容到控制台时,会将通道名称作为前缀输出,eg:[ ${channel}] 这是要输出的内容。
30-
3129### Attribute list
3230
3331| Attribute name | Type | Description |
3432| -- | -- | -- |
35- | name | String | 通道名称 |
33+ | name | String | Human-readable string which will be used to represent the channel in the UI. |
3634
3735### appendLine
3836
37+ > Append the given value and a line feed character to the channel.
38+
3939** Parameter**
4040
4141| Name | Type | Description |
4242| -- | -- | -- |
43- | line | String | 输出到控制台的内容 |
43+ | line | String | A string, falsy values will be printed. |
4444
4545** Returns**
4646
5959### show
6060
6161** Parameter**
62- 无
62+
63+ No.
6364
6465** Returns**
6566
You can’t perform that action at this time.
0 commit comments