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.
10 Jul 19:19:20
[LOG]
Generated JWT token for user
10 Jul 19:02:40
[INFO]
Bluetooth services started successfully
10 Jul 18:46:00
[INFO]
Bluetooth services started successfully
10 Jul 18:29:20
[ERROR]
Failed to connect to database
10 Jul 18:12:40
[LOG]
Session was invalidated after timeout
10 Jul 17:56:00
[INFO]
Application listening on port 5000
10 Jul 17:39:20
[LOG]
Session was invalidated after timeout
10 Jul 17:22:40
[INFO]
CORS enabled - accepting requests from all origins
10 Jul 17:06:00
[INFO]
CORS enabled - accepting requests from all origins
10 Jul 16:49:20
[LOG]
Sendgrid welcome email sent
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[]
{}