dart-lang / core

This repository is home to core Dart packages.
https://pub.dev/publishers/dart.dev
BSD 3-Clause "New" or "Revised" License
12 stars 2 forks source link

Logging v1.2.0 onLevelChanged bug #482

Open durukan-iscan opened 9 months ago

durukan-iscan commented 9 months ago

Hello everyone,

I just updated my "logging" dependency version from 1.1.1 to 1.2.0 and i am getting this error when i run this command: "flutter pub run build_runner build --delete-conflicting-outputs"

image

This error seems to appear only on Windows OS, on MacOS that works without any problem.

Does somebody has any idea?

chadpav commented 9 months ago

I'm getting the exact same error but running MacOS. I recently upgraded to Flutter 3.16 and thought it might be related to that. Downgrading logging to 1.1.1 and logging_appenders to 1.0.2 also resolves the issue.

Checking the change log and the only thing they added in 1.2.0 was a stream which reports when the logging level changes. If you don't need that feature then downgrading is a fine workaround for me until it's resolved.

Has anyone made any progress on this?