Skip to content

Commit f7a53c8

Browse files
authored
1 parent d37ca50 commit f7a53c8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/vscode-dts/vscode.proposed.extensionLog.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare module 'vscode' {
3535
export interface LogOutputChannel extends OutputChannel {
3636

3737
/**
38-
* The current log level of the channel.
38+
* The current log level of the channel. Defaults to application {@link env.logLevel application log level}.
3939
*/
4040
readonly logLevel: LogLevel;
4141

@@ -47,39 +47,39 @@ declare module 'vscode' {
4747
/**
4848
* Log the given trace message to the channel.
4949
*
50-
* Messages are only printed when the user has enabled trace logging.
50+
* Messages are only logged when the {@link LogOutputChannel.logLevel log level} is {@link LogLevel.Trace trace}.
5151
*
5252
* @param message trace message to log
5353
*/
5454
trace(message: string, ...args: any[]): void;
5555
/**
5656
* Log the given debug message to the channel.
5757
*
58-
* Messages are only printed when the user has enabled debug logging.
58+
* Messages are only logged when the {@link LogOutputChannel.logLevel log level} is {@link LogLevel.Debug debug} or lower.
5959
*
6060
* @param message debug message to log
6161
*/
6262
debug(message: string, ...args: any[]): void;
6363
/**
6464
* Log the given info message to the channel.
6565
*
66-
* Messages are only printed when the user has enabled info logging.
66+
* Messages are only logged when the {@link LogOutputChannel.logLevel log level} is {@link LogLevel.Info info} or lower.
6767
*
6868
* @param message info message to log
6969
*/
7070
info(message: string, ...args: any[]): void;
7171
/**
7272
* Log the given warning message to the channel.
7373
*
74-
* Messages are only printed when the user has enabled warn logging.
74+
* Messages are only logged when the {@link LogOutputChannel.logLevel log level} is {@link LogLevel.Warn warn} or lower.
7575
*
7676
* @param message warning message to log
7777
*/
7878
warn(message: string, ...args: any[]): void;
7979
/**
8080
* Log the given error or error message to the channel.
8181
*
82-
* Messages are only printed when the user has enabled error logging.
82+
* Messages are only logged when the {@link LogOutputChannel.logLevel log level} is {@link LogLevel.Error error} or lower.
8383
*
8484
* @param error Error or error message to log
8585
*/

0 commit comments

Comments
 (0)