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.
26 Jan 14:01:49
[LOG]
WebSocket connection established
26 Jan 14:01:48
[INFO]
Bluetooth services started successfully
26 Jan 13:45:08
[LOG]
Sendgrid welcome email sent
26 Jan 13:28:28
[LOG]
WebSocket connection established
26 Jan 13:11:48
[INFO]
CORS enabled - accepting requests from all origins
26 Jan 12:55:08
[INFO]
Module dependencies initialized (+32ms)
26 Jan 12:38:28
[INFO]
Application listening on port 5000
26 Jan 12:21:48
[ERROR]
Failed to fetch data from /api/v1/items
26 Jan 12:05:08
[LOG]
Generated JWT token for user
26 Jan 11:48:28
[INFO]
Application listening on port 5000
26 Jan 11:31:48
[ERROR]
Failed to connect to database
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[]
{}