This is a Planck integration. Install
@inquantum/planck-async for Node.js or
planck-async for Python. No additional logging service or account is
required.Set up automatic logging
- Node.js
- Python
1
Install the Planck Async Logger
2
Initialize Logger
3
Properties
You can set properties on the logger to be used in Planck using the
withProperties method. (These can be used for Sessions, User Metrics, and more.)Disable logging
You can completely disable all logging to Planck if needed when using the async integration mode. This is useful for development environments or when you want to temporarily stop sending data to Planck without changing your code structure.- Python
- Node.js
disable_content_tracing() which only omits request and response content but still sends other metrics. Note that this feature is only available when using Planck’s async integration mode.
Supported providers
- OpenAI
- Anthropic
- Azure OpenAI
- Cohere
- Bedrock
- Google AI Platform