Access the debug logger with automatic adapter injection
The adapter is automatically configured when AppsProvider connects. Use this hook to access the logger and optionally configure it.
Optional
Optional configuration to apply
The configured client debug logger
function MyComponent() { const logger = useDebugLogger({ enabled: true, level: "debug" }); const handleClick = () => { logger.info("Button clicked", { timestamp: Date.now() }); }; return <button onClick={handleClick}>Click me</button>;} Copy
function MyComponent() { const logger = useDebugLogger({ enabled: true, level: "debug" }); const handleClick = () => { logger.info("Button clicked", { timestamp: Date.now() }); }; return <button onClick={handleClick}>Click me</button>;}
Access the debug logger with automatic adapter injection
The adapter is automatically configured when AppsProvider connects. Use this hook to access the logger and optionally configure it.