The console.error() static method outputs a message to the console at the "error" log level. The message is only displayed to the user if the console is configured to display error output. In most cases, the log level is configured within the console UI. The message may be formatted as an error, with red colors and call stack information.
error('Three Steam Audio is not supported in this browser')
}
if (!
constcaps:SteamAudioCapabilities
caps.
SteamAudioCapabilities.sharedArrayBuffer: boolean
sharedArrayBuffer) {
var console:Console
console.
Console.warn(...data: any[]): void
The console.warn() static method outputs a warning message to the console at the "warning" log level. The message is only displayed to the user if the console is configured to display warning output. In most cases, the log level is configured within the console UI. The message may receive special formatting, such as yellow colors and a warning icon.