Skip to main content

console.Category

Class

Enum-like type for log categories (console.None, console.User).

Example

// console.Category controls where log messages appear.
// console.User (default) — message appears in the Logger panel.
// console.None — message goes to internal log only, hidden from Logger panel.

// Pass the category as the last argument to console.log / console.warn:
const con = console as any;
console.log('This appears in the Logger panel', con.User);
console.log('This is internal only — hidden from Logger panel', con.None);

console.warn('Visible warning', con.User);
console.warn('Internal-only warning', con.None);