---
title: "@axiomhq/logging 0.4.0 Breaking Changes on npm | Since.dev"
description: "What each @axiomhq/logging release removed, renamed or changed: 14 breaking changes in 1 version on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@axiomhq/logging
last_updated: 2026-12-04
---

# @axiomhq/logging breaking changes

@axiomhq/logging 0.4.0 (August 4, 2026) is its newest release with breaking changes, 14 of them. The first: Signature changed Logger. Every breaking API change we have recorded in @axiomhq/logging on npm: 14 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.4.1`, released September 9, 2026. [Source repository](https://github.com/axiomhq/axiom-js)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

## @axiomhq/logging 0.4.0 breaking changes

@axiomhq/logging 0.4.0, released August 4, 2026: 14 breaking changes.

- **Signature changed** `Logger`  

Was class Logger; now class Logger\<TSchema extends LoggerSchema | undefined = any, TOutputSchema extends OutputLoggerSchema | undefined = any, TContext extends Partial\<FieldsInput\<TSchema>> = DefaultLoggerContext\<TSchema>>. [npmjs.com](https://www.npmjs.com/package/@axiomhq/logging/v/0.4.0)
- **Signature changed** `Logger.children`  

Was children: Logger\[\]; now children: Logger\<TSchema, TOutputSchema, any>\[\]. [npmjs.com](https://www.npmjs.com/package/@axiomhq/logging/v/0.4.0)
- **Signature changed** `Logger.config`  

Was config: LoggerConfig; now config: LoggerConfig\<TSchema, TOutputSchema, TContext>. [npmjs.com](https://www.npmjs.com/package/@axiomhq/logging/v/0.4.0)
- **Signature changed** `Logger.constructor`  

Was constructor(initConfig: LoggerConfig); now constructor(initConfig: LoggerConfig\<TSchema, TOutputSchema, TContext>). [npmjs.com](https://www.npmjs.com/package/@axiomhq/logging/v/0.4.0)
- **Signature changed** `Logger.debug`  

Was debug: (message: string, args?: Record\<string | symbol, any>) => void; now debug: (message: string, ...\[args\]: LoggerMethodArgs\<TSchema, TContext>) => void. [npmjs.com](https://www.npmjs.com/package/@axiomhq/logging/v/0.4.0)
- **Signature changed** `Logger.error`  

Was error: (message: string, args?: Record\<string | symbol, any>) => void; now error: (message: string, ...\[args\]: ErrorLoggerMethodArgs\<TSchema, TContext>) => void. [npmjs.com](https://www.npmjs.com/package/@axiomhq/logging/v/0.4.0)
- **Signature changed** `Logger.info`  

Was info: (message: string, args?: Record\<string | symbol, any>) => void; now info: (message: string, ...\[args\]: LoggerMethodArgs\<TSchema, TContext>) => void. [npmjs.com](https://www.npmjs.com/package/@axiomhq/logging/v/0.4.0)
- **Signature changed** `Logger.initConfig`  

Was initConfig: LoggerConfig; now initConfig: LoggerConfig\<TSchema, TOutputSchema, TContext>. [npmjs.com](https://www.npmjs.com/package/@axiomhq/logging/v/0.4.0)
- **Signature changed** `Logger.log`  

Was log: (level: LogLevel, message: string, args?: Record\<string | symbol, any>) => void; now log: (level: LogLevel, message: string, ...\[args\]: ErrorLoggerMethodArgs\<TSchema, TContext>) => void. [npmjs.com](https://www.npmjs.com/package/@axiomhq/logging/v/0.4.0)
- **Signature changed** `Logger.warn`  

Was warn: (message: string, args?: Record\<string | symbol, any>) => void; now warn: (message: string, ...\[args\]: LoggerMethodArgs\<TSchema, TContext>) => void. [npmjs.com](https://www.npmjs.com/package/@axiomhq/logging/v/0.4.0)
- **Signature changed** `Logger.with`  

Was with: (fields: Record\<string | symbol, any>) => Logger; now with: \<TFields extends Partial\<FieldsInput\<TSchema>> & Record\<symbol, any>>(fields: NoExtraFields\<TFields, FieldsInput\<TSchema>>) => Logger\<TSchema, TOutputSchema, TContext &... [npmjs.com](https://www.npmjs.com/package/@axiomhq/logging/v/0.4.0)
- **Signature changed** `LoggerConfig`  

Was type LoggerConfig = {args?: Record\<string | symbol, any>; transports: \[Transport, ...Transport\[\]\]; logLevel?: LogLevel; formatters?: Array\<Formatter>; overrideDefaultFormatters?: boolean;}; now type LoggerConfig\<TSchema extends... [npmjs.com](https://www.npmjs.com/package/@axiomhq/logging/v/0.4.0)
- **Signature changed** `LoggerConfig.args`  

Was args?: Record\<string | symbol, any>; now args?: TContext & Record\<symbol, any>. [npmjs.com](https://www.npmjs.com/package/@axiomhq/logging/v/0.4.0)
- **Signature changed** `LoggerConfig.formatters`  

Was formatters?: Array\<Formatter>; now formatters?: Array\<Formatter\<any, any>>. [npmjs.com](https://www.npmjs.com/package/@axiomhq/logging/v/0.4.0)

## Related packages

- [@axiomhq/js](https://since.dev/packages/npm/@axiomhq/js.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
