---
title: "log 0.4.0 Breaking Changes on crates.io | Since.dev"
description: "What each log release removed, renamed or changed: 37 breaking changes in 3 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/log
last_updated: 2026-12-04
---

# log breaking changes

log 0.4.0 (December 24, 2017) is its newest release with breaking changes, 16 of them. The first: Removed log::log_panics. Every breaking API change we have recorded in log on crates.io: 37 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.4.35`, released October 30, 2026. [Source repository](https://github.com/rust-lang/log)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.2.0](#v-0-2-0) to [0.4.0](#v-0-4-0): 23 breaking changes in 2 versions.

## log 0.4.0 breaking changes

log 0.4.0, released December 24, 2017: 16 breaking changes.

- **Removed** `log::log_panics`  

log::log_panics was removed in log 0.4.0 [crates.io](https://crates.io/crates/log/0.4.0)
- **Removed** `log::LogLevel`  

log::LogLevel was removed in log 0.4.0 [crates.io](https://crates.io/crates/log/0.4.0)
- **Removed** `log::LogLevelFilter`  

log::LogLevelFilter was removed in log 0.4.0 [crates.io](https://crates.io/crates/log/0.4.0)
- **Removed** `log::LogLocation`  

log::LogLocation was removed in log 0.4.0 [crates.io](https://crates.io/crates/log/0.4.0)
- **Removed** `log::LogMetadata`  

log::LogMetadata was removed in log 0.4.0 [crates.io](https://crates.io/crates/log/0.4.0)
- **Removed** `log::LogRecord`  

log::LogRecord was removed in log 0.4.0 [crates.io](https://crates.io/crates/log/0.4.0)
- **Removed** `log::max_log_level`  

log::max_log_level was removed in log 0.4.0 [crates.io](https://crates.io/crates/log/0.4.0)
- **Removed** `log::MaxLogLevelFilter`  

log::MaxLogLevelFilter was removed in log 0.4.0 [crates.io](https://crates.io/crates/log/0.4.0)
- **Removed** `log::set_logger_raw`  

log::set_logger_raw was removed in log 0.4.0 [crates.io](https://crates.io/crates/log/0.4.0)
- **Removed** `log::shutdown_logger`  

log::shutdown_logger was removed in log 0.4.0 [crates.io](https://crates.io/crates/log/0.4.0)
- **Removed** `log::shutdown_logger_raw`  

log::shutdown_logger_raw was removed in log 0.4.0 [crates.io](https://crates.io/crates/log/0.4.0)
- **Removed** `log::ShutdownLoggerError`  

log::ShutdownLoggerError was removed in log 0.4.0 [crates.io](https://crates.io/crates/log/0.4.0)
- **Signature changed** `log::Log`  

Was trait Log: Sync+Send; now trait Log: Sync + Send. [crates.io](https://crates.io/crates/log/0.4.0)
- **Signature changed** `log::Log::enabled`  

Was fn enabled(&self, metadata: &LogMetadata) -> bool; now fn enabled(&self, metadata: &Metadata) -> bool. [crates.io](https://crates.io/crates/log/0.4.0)
- **Signature changed** `log::Log::log`  

Was fn log(&self, record: &LogRecord); now fn log(&self, record: &Record). [crates.io](https://crates.io/crates/log/0.4.0)
- **Signature changed** `log::set_logger`  

Was fn set_logger\<M>(make_logger: M) -> Result<(), SetLoggerError> where M: FnOnce(MaxLogLevelFilter) -> Box\<Log>; now fn set_logger(logger: &'static Log) -> Result<(), SetLoggerError>. [crates.io](https://crates.io/crates/log/0.4.0)

## log 0.3.0 breaking changes

log 0.3.0, released March 24, 2015: 7 breaking changes.

- **Removed** `log::enabled`  

log::enabled was removed in log 0.3.0 [crates.io](https://crates.io/crates/log/0.3.0)
- **Removed** `log::log`  

log::log was removed in log 0.3.0 [crates.io](https://crates.io/crates/log/0.3.0)
- **Removed** `log::LogRecord::new`  

log::LogRecord::new was removed in log 0.3.0 [crates.io](https://crates.io/crates/log/0.3.0)
- **Signature changed** `log::Log::enabled`  

Was fn enabled(&self, level: LogLevel, module: &str) -> bool; now fn enabled(&self, metadata: &LogMetadata) -> bool. [crates.io](https://crates.io/crates/log/0.3.0)
- **Signature changed** `log::LogLocation::file`  

Was file: &'static str; now fn file(&self) -> &str. [crates.io](https://crates.io/crates/log/0.3.0)
- **Signature changed** `log::LogLocation::line`  

Was line: u32; now fn line(&self) -> u32. [crates.io](https://crates.io/crates/log/0.3.0)
- **Signature changed** `log::LogLocation::module_path`  

Was module_path: &'static str; now fn module_path(&self) -> &str. [crates.io](https://crates.io/crates/log/0.3.0)

## log 0.2.0 breaking changes

log 0.2.0, released January 27, 2015: 14 breaking changes.

- **Removed** `log::DEBUG`  

log::DEBUG was removed in log 0.2.0 [crates.io](https://crates.io/crates/log/0.2.0)
- **Removed** `log::ERROR`  

log::ERROR was removed in log 0.2.0 [crates.io](https://crates.io/crates/log/0.2.0)
- **Removed** `log::INFO`  

log::INFO was removed in log 0.2.0 [crates.io](https://crates.io/crates/log/0.2.0)
- **Removed** `log::Logger`  

log::Logger was removed in log 0.2.0 [crates.io](https://crates.io/crates/log/0.2.0)
- **Removed** `log::LogRecord::file`  

log::LogRecord::file was removed in log 0.2.0 [crates.io](https://crates.io/crates/log/0.2.0)
- **Removed** `log::LogRecord::line`  

log::LogRecord::line was removed in log 0.2.0 [crates.io](https://crates.io/crates/log/0.2.0)
- **Removed** `log::LogRecord::module_path`  

log::LogRecord::module_path was removed in log 0.2.0 [crates.io](https://crates.io/crates/log/0.2.0)
- **Removed** `log::macros`  

log::macros was removed in log 0.2.0 [crates.io](https://crates.io/crates/log/0.2.0)
- **Removed** `log::MAX_LOG_LEVEL`  

log::MAX_LOG_LEVEL was removed in log 0.2.0 [crates.io](https://crates.io/crates/log/0.2.0)
- **Removed** `log::WARN`  

log::WARN was removed in log 0.2.0 [crates.io](https://crates.io/crates/log/0.2.0)

And 4 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## 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.
