Skip to main content

format_session_json

Function format_session_json 

Source
pub fn format_session_json(context: &SessionContext) -> String
Expand description

Create a JSON representation of session context

Useful for structured log outputs or external monitoring systems.

§Arguments

  • context - The session context

§Returns

A JSON string with session information