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.
17 Oct 10:29:02
[LOG]
Generated JWT token for user
17 Oct 10:29:02
[INFO]
Bluetooth services started successfully
17 Oct 10:12:22
[LOG]
Session was invalidated after timeout
17 Oct 09:55:42
[INFO]
Application listening on port 5000
17 Oct 09:39:02
[INFO]
CORS enabled - accepting requests from all origins
17 Oct 09:22:22
[INFO]
CORS enabled - accepting requests from all origins
17 Oct 09:05:42
[ERROR]
Failed to fetch data from /api/v1/items
17 Oct 08:49:02
[LOG]
WebSocket connection established
17 Oct 08:32:22
[INFO]
Bluetooth services started successfully
17 Oct 08:15:42
[ERROR]
Failed to fetch data from /api/v1/items
17 Oct 07:59: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[]
{}