9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement
ts
function write(
   message: any, 
   category: string, 
   type?: number): void;

Defined in: trace/index.d.ts:82

Writes a message using the available writers.

Parameters

ParameterTypeDescription
messageanyThe message to be written.
categorystringThe category of the message.
type?numberOptional, the type of the message - info, warning, error.

Returns

void

Next
Utils