Commit e489bb2
fix(logs): sanitize strings and print the log message sent by mcp server (#2205)
* sanitize log level and data
* ouput server logs to user for transparency and progress tracking
* allow notification data to accept both string and json objects
* disable notification output to stdout
---------
Co-authored-by: Jayant Dabas <[email protected]>1 parent 264c308 commit e489bb2
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
387 | 388 | | |
388 | 389 | | |
389 | 390 | | |
| |||
0 commit comments