Skip to content

Commit 5503baa

Browse files
committed
翻译 en createOutputChannel.md
1 parent ce99b15 commit 5503baa

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

en/ExtensionDocs/Api/windows/createOutputChannel.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
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

@@ -26,21 +26,21 @@
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

@@ -59,7 +59,8 @@
5959
### show
6060

6161
**Parameter**
62-
62+
63+
No.
6364

6465
**Returns**
6566

0 commit comments

Comments
 (0)