dart-lang/core

Logging v1.2.0 onLevelChanged bug

Opened this issue · 1 comments

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?

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?