{"version":"1.0","type":"rich","title":"configurable-logger-example.js","description":"This example demonstrates a configurable logger that prefixes messages with a custom string. The code defines a `createLogger` function that takes a prefix and returns a new logging function, which prepends that prefix to all subsequent arguments before delegating to the original `log` function. The `log` function itself uses `Array.prototype.slice.call` to handle variable arguments and joins them with spaces for console output via `console.log`. The example shows a logger created with the prefix `'MyApp ::'`, then invoked with multiple arguments to produce a prefixed message.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-ab84c2daef8ae49ad49c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}