Add logging service for capturing and uploading console logs#9
Open
Add logging service for capturing and uploading console logs#9
Conversation
tcdent
reviewed
Jun 5, 2025
Collaborator
tcdent
left a comment
There was a problem hiding this comment.
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.
…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.
Member
Author
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LoggingServiceto manage log capture and upload functionality.uploadLogFilemethod to send logs to the API.LogBufferclass for managing log entries with timestamps.APIclass to support bearer token authentication for log uploads.log.ts.Closes #6