@@ -35,7 +35,7 @@ declare module 'vscode' {
35
35
export interface LogOutputChannel extends OutputChannel {
36
36
37
37
/**
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}.
39
39
*/
40
40
readonly logLevel : LogLevel ;
41
41
@@ -47,39 +47,39 @@ declare module 'vscode' {
47
47
/**
48
48
* Log the given trace message to the channel.
49
49
*
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} .
51
51
*
52
52
* @param message trace message to log
53
53
*/
54
54
trace ( message : string , ...args : any [ ] ) : void ;
55
55
/**
56
56
* Log the given debug message to the channel.
57
57
*
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 .
59
59
*
60
60
* @param message debug message to log
61
61
*/
62
62
debug ( message : string , ...args : any [ ] ) : void ;
63
63
/**
64
64
* Log the given info message to the channel.
65
65
*
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 .
67
67
*
68
68
* @param message info message to log
69
69
*/
70
70
info ( message : string , ...args : any [ ] ) : void ;
71
71
/**
72
72
* Log the given warning message to the channel.
73
73
*
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 .
75
75
*
76
76
* @param message warning message to log
77
77
*/
78
78
warn ( message : string , ...args : any [ ] ) : void ;
79
79
/**
80
80
* Log the given error or error message to the channel.
81
81
*
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 .
83
83
*
84
84
* @param error Error or error message to log
85
85
*/
0 commit comments