Overview
Returns a function to send structured log messages to the host for debugging and monitoring.Wraps sendLog
MCP Apps SDK reference
Import
Signature
SendLogParams
Log level:
'debug' | 'info' | 'warning' | 'error' | 'critical'Log data payload.
Logger name for categorization.
Returns
Function to send a log message to the host.