50 components available

Logs Explorer

October 2024
Login to access the code
A real-time animated stream of log messages with timestamped entries and status-based color coding.
31 Oct 23:19:08
[LOG]
Generated JWT token for user
31 Oct 23:02:28
[ERROR]
Failed to fetch data from /api/v1/items
31 Oct 22:45:48
[ERROR]
Failed to fetch data from /api/v1/items
31 Oct 22:29:08
[LOG]
Session was invalidated after timeout
31 Oct 22:12:28
[INFO]
CORS enabled - accepting requests from all origins
31 Oct 21:55:48
[INFO]
CORS enabled - accepting requests from all origins
31 Oct 21:39:08
[LOG]
WebSocket connection established
31 Oct 21:22:28
[INFO]
Bluetooth services started successfully
31 Oct 21:05:48
[INFO]
Bluetooth services started successfully
31 Oct 20:49:08
[INFO]
Module dependencies initialized (+32ms)
Playground
() => {
  const LOG_LEVELS = {
    LOG: [
      'WebSocket connection established',
      'Generated JWT token for user',
      'Session was invalidated after timeout',
      'Sendgrid welcome email sent',
    ],
    INFO: [
      'Application listening on port 5000',
      'CORS enabled - accepting requests from all origins',
      'Bluetooth services started successfully',
      'Module dependencies initialized (+32ms)',
    ],
    ERROR: [
      'Failed to connect to database',
      'Failed to fetch data from /api/v1/items',
    ],
  };

  return <LogsExplorer logs={LOG_LEVELS} />
};

Installation

Whoops, hang on for a sec
You don't have access to view this resource

API Props

PropTypeDefault
logs
[level: string]: string[]
{}