LogTrace
in package
A notification to log the trace of the server’s execution.
The amount and content of these notifications depends on the current trace configuration. If trace is 'off', the server should not send any logTrace notification. If trace is 'messages', the server should not add the 'verbose' field in the LogTraceParams.
$/logTrace should be used for systematic trace reporting. For single debugging messages, the server should send window/logMessage notifications.
Table of Contents
Properties
- $message : string
- The message to be logged.
- $verbose : string|null
- Additional information that can be computed if the `trace` configuration is set to `'verbose'`
Methods
- __construct() : mixed
Properties
$message
The message to be logged.
public
string
$message
$verbose
Additional information that can be computed if the `trace` configuration is set to `'verbose'`
public
string|null
$verbose
Methods
__construct()
public
__construct(string $message[, string|null $verbose = null ]) : mixed
Parameters
- $message : string
- $verbose : string|null = null