Using evlog with drain adapters outside of Nitro — just a plain script.
# Set your Axiom credentials
export AXIOM_TOKEN="xaat-..."
export AXIOM_DATASET="my-logs"
bun run startThis example shows how to use initLogger with the drain option to automatically send every log to Axiom via the pipeline (batching + retry).