Skip to content

Conversation

Dwij1704
Copy link
Member

@Dwij1704 Dwij1704 commented Jun 5, 2025

  • Introduced LoggingService to manage log capture and upload functionality.
  • Patched console methods to capture logs into a memory buffer.
  • Implemented uploadLogFile method to send logs to the API.
  • Added LogBuffer class for managing log entries with timestamps.
  • Updated API class to support bearer token authentication for log uploads.
  • Removed deprecated logging functionality from log.ts.
  • Added unit tests for logging components to ensure functionality and reliability.

Closes #6

@Dwij1704 Dwij1704 requested a review from tcdent June 5, 2025 20:47
Copy link
Collaborator

@tcdent tcdent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Get itttt.

I think it would be fun to implement this as an instrumentor since what we're doing it patching and unpatching, so no need to reinvent the wheel.

Let's see if we can do this without singletons and globals.

Dwij1704 and others added 3 commits July 29, 2025 22:22
…ing logic to support asynchronous log uploads and improve trace handling. Clean up code formatting in response.ts.
…ogging instrumentation. Introduce LogBuffer for capturing console logs and update client to use new logging service. Remove deprecated logging module and associated tests.
@Dwij1704
Copy link
Member Author

Dwij1704 commented Aug 1, 2025

Refactor logging functionality by moving logging service to console-logging instrumentation. Introduce LogBuffer for capturing console logs and update client to use new logging service. Remove deprecated logging module and associated tests.

@Dwij1704 Dwij1704 requested a review from tcdent August 4, 2025 16:33
@Dwij1704 Dwij1704 mentioned this pull request Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for uploading logs

2 participants