Inspector Mod

Contents

Inspector Mod#

rizemind.logging.inspector_mod.inspector_mod(msg: Message, ctx: Context, call_next: Callable[[Message, Context], Message]) Message[source]#

Prints out the incoming message and outgoing response.

If you have more than one mode, the order of the inspector_mod must be considered against them, the output would be different if the order is changed.

Parameters:
  • msg – The incoming message from the ServerApp to the ClientApp.

  • ctx – Context of the run.

  • call_next – The function that gets executed next to generate the response to the incoming message and context.

Returns:

The response message sent from the ClientApp to the ServerApp.