Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colors still not working?? #108

Open
MilanObrenovic opened this issue Aug 14, 2021 · 3 comments
Open

Colors still not working?? #108

MilanObrenovic opened this issue Aug 14, 2021 · 3 comments

Comments

@MilanObrenovic
Copy link

2 years later the colors are still not working in intellij..? did someone find a fix for this?

@myfknoll
Copy link

I am running Android Studio Arctic Fox |2020.3.1 Patch 2:

  • "Logcat" is white
  • "Run" is in color

so guess this is fine. Hope this helps.
Best regards

@carrasc0
Copy link

I am running Android Studio Arctic Fox |2020.3.1 Patch 2:

  • "Logcat" is white
  • "Run" is in color

so guess this is fine. Hope this helps. Best regards

For android builds yes, iOs it doenst shoe the colors

@yushihang
Copy link

This issue is a bit complex, but we could solve it by changing logger/outputs/console_output.dart to below:

import 'dart:io';
import 'dart:developer' as developer;
import 'package:flutter/foundation.dart';
import 'package:idealab/plugins/logger/log_output.dart';
import 'package:idealab/plugins/logger/logger.dart';

const bool _kReleaseMode = kReleaseMode;
/// Default implementation of [LogOutput].
///
/// It sends everything to the system console.
class ConsoleOutput extends LogOutput {
@OverRide
void output(OutputEvent event) {
if (_kReleaseMode || !Platform.isIOS )
{
event.lines.forEach(debugPrint);
}
else
{
event.lines.forEach(developer.log);
}

}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants