Skip to main content
@ai-billing/core
@ai-billing/core / consoleDestination

Function: consoleDestination()

consoleDestination<TTags>(): Destination<TTags>
Defined in: packages/core/src/destination/console-destination.ts:9 Creates a destination that logs billing events to the console.

Type Parameters

TTags

TTags extends JSONObject = JSONObject

Returns

Destination<TTags> A destination that prints each event with full depth formatting.
Last modified on October 29, 2026