Interactive Demos
Each demo shows the code, a trigger button, and a dedicated console to see results. Click buttons to run demos.
Console Methods
Log Levels
Five log levels for different message types: log, info, warn, error, and debug.
console.table()
Display tabular data in a formatted table.
console.time()
Measure execution time with named timers.
console.group()
Create collapsible groups of related logs.
console.trace() / count()
Stack traces and call counters for debugging.
Data Types
Primitives
Strings, numbers, booleans, null, undefined, BigInt, and Symbol.
Objects & Arrays
Expandable objects with nested properties.
Collections
Map and Set data structures.
Special Types
Date, RegExp, Error, and DOM elements.
Theme Comparison
The component supports dark and light themes via the theme attribute.
Setting Theme via HTML Attribute
Programmatic Theme Control
Dark Theme
Light Theme
Stress Tests
Performance Testing
Test with large objects, multiple rapid logs, and mixed types.