Closed
Description
Is your feature request related to a problem? Please describe.
When using debug
log level, there are really a lot of low level communication details that are generated by the library.
Describe the solution you'd like
Establish a clear framework to decide what information to log at debug
level and trace
level.
Key the low level byte receives / sent count at trace
level for example.
Describe alternatives you've considered
Using a different logger for my app and for this library.
Additional context
Example of really verbose logs
2025-06-05T13:24:04+0200 debug bedrockcli : size=1469 [MCP] Message received
2025-06-05T13:24:04+0200 debug bedrockcli : id=1FCEA043-C2BB-4596-9E37-AAE4079D484B [MCP] Processing response
2025-06-05T13:24:04+0200 debug bedrockcli : size=7717 [MCP] Message received
2025-06-05T13:24:04+0200 debug bedrockcli : id=B90EFB53-A7D8-4467-AA6E-1D09D2C7FF7F [MCP] Processing response
2025-06-05T13:24:04+0200 debug bedrockcli : size=2399 [MCP] Message received
2025-06-05T13:24:04+0200 debug bedrockcli : id=D2864073-60D2-431B-865C-3E308EB3DBBF [MCP] Processing response
2025-06-05T13:24:04+0200 debug bedrockcli : size=297 [MCP] Message received
2025-06-05T13:24:04+0200 debug bedrockcli : id=C5C0F2D0-3837-44BD-AE76-CBF7DEBC7AB2 [MCP] Processing response