Skip to content

Conversation

@hiroshihorie
Copy link
Member

No description provided.

Introduced a log statement at Level.FINEST in the EventsEmitter<T>.emit method to provide detailed tracing when emitting events. This helps with debugging and monitoring event emissions when fine-grained logging is enabled.
Changed the log level from FINE to FINEST for more detailed debugging and updated the log output to include the log level name for better clarity.
Implemented or updated toString() methods for all event classes in lib/src/events.dart and lib/src/internal/events.dart to provide more informative and structured textual representations for logging and debugging. This improves traceability and clarity when inspecting event objects.
Moved base event mixins (LiveKitEvent, RoomEvent, etc.) from events.dart to a new events_base.dart to avoid import cycles and added an isInternal property for distinguishing internal events. Updated internal/events.dart and event emitters to use the new base, and improved logging to indicate event scope.
Documented the addition of trace-level event logging with internal/public tagging and updated example app logging to FINEST in the changes log.
Updated the toString methods in RoomDisconnectedEvent and RoomRecordingStatusChanged to use a more descriptive format with named parameters for better readability and debugging.
Added InternalEvent mixin to TrackEndedEvent and formatted its toString method for consistency.
Simplified the change description in the event-logging-trace file to focus on public/internal tagging for event logging.
@hiroshihorie hiroshihorie changed the title log events event logging Nov 20, 2025
@hiroshihorie hiroshihorie merged commit b324c6b into main Nov 21, 2025
15 checks passed
@hiroshihorie hiroshihorie deleted the hiroshi/log-events branch November 21, 2025 03:59
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.

2 participants