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.
24 Jan 19:15:03
[LOG]
WebSocket connection established
24 Jan 19:15:02
[LOG]
Session was invalidated after timeout
24 Jan 18:58:22
[INFO]
CORS enabled - accepting requests from all origins
24 Jan 18:41:42
[LOG]
Generated JWT token for user
24 Jan 18:25:02
[LOG]
Session was invalidated after timeout
24 Jan 18:08:22
[LOG]
Session was invalidated after timeout
24 Jan 17:51:42
[INFO]
Application listening on port 5000
24 Jan 17:35:02
[LOG]
Sendgrid welcome email sent
24 Jan 17:18:22
[INFO]
CORS enabled - accepting requests from all origins
24 Jan 17:01:42
[ERROR]
Failed to fetch data from /api/v1/items
24 Jan 16:45:02
[LOG]
Session was invalidated after timeout
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[]
{}