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.
15 Dec 00:43:52
[LOG]
Session was invalidated after timeout
15 Dec 00:43:51
[LOG]
Generated JWT token for user
15 Dec 00:27:11
[LOG]
Session was invalidated after timeout
15 Dec 00:10:31
[INFO]
CORS enabled - accepting requests from all origins
14 Dec 23:53:51
[INFO]
Application listening on port 5000
14 Dec 23:37:11
[INFO]
CORS enabled - accepting requests from all origins
14 Dec 23:20:31
[LOG]
Session was invalidated after timeout
14 Dec 23:03:51
[LOG]
WebSocket connection established
14 Dec 22:47:11
[LOG]
Generated JWT token for user
14 Dec 22:30:31
[LOG]
Generated JWT token for user
14 Dec 22:13:51
[INFO]
Bluetooth services started successfully
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[]
{}