Readonly
logThe current log level of the channel. Defaults to editor log level.
Readonly
nameThe name of this output channel.
Readonly
onAn Event which fires when the log level of the channel changes.
Outputs the given debug message to the channel.
The message is only logged if the channel is configured to display debug log level or lower.
debug message to log
Rest
...args: any[]Outputs the given error or error message to the channel.
The message is only logged if the channel is configured to display error log level or lower.
Error or error message to log
Rest
...args: any[]Outputs the given information message to the channel.
The message is only logged if the channel is configured to display info log level or lower.
info message to log
Rest
...args: any[]Reveal this channel in the UI.
Optional
column: ViewColumnThis argument is deprecated and will be ignored.
Optional
preserveFocus: booleanWhen true
the channel will not take focus.
Use the overload with just one parameter (show(preserveFocus?: boolean): void
).
Reveal this channel in the UI.
Optional
preserveFocus: booleanWhen true
the channel will not take focus.
Outputs the given trace message to the channel. Use this method to log verbose information.
The message is only logged if the channel is configured to display trace log level.
trace message to log
Rest
...args: any[]Outputs the given warning message to the channel.
The message is only logged if the channel is configured to display warning log level or lower.
warning message to log
Rest
...args: any[]
A channel for containing log output.
To get an instance of a
LogOutputChannel
use createOutputChannel.