Harm Aarts
Harm Aarts
Android Studio seems to have a maximum length on a log line. It would be good for us to detect we're printing to Android logcat and split the lines. But...
There's even a `lineLength` constructor argument which you could use! Better yet, there's a [`terminalColumns`](https://api.dartlang.org/stable/2.7.0/dart-io/Stdout/terminalColumns.html) property which you could use. This, too, I'd like to implement but it is not...
I'm sure it is only used for the divider length. I've been thinking a bit about this and hard wrapping is only desirable if the terminal/console truncates the lines. This...
I would not use the PrettyPrinter in this case. You are able to switch formatting via configuration by passing a different Printer based on a env var, cli argument, whatever.
You can pass 'colors: false' to the prettyprint constitutor. Or you can use simpleprinter to get rid of the fanciness altogether. Please refer to the readme how. On Wed, Sep...
> Both consoles use bash. > > I also tried to customize PrettyPrinter as mentioned in docs: >  > It led to the following error: >  This is...
> Is there an option to get rid of those line frames and leave a text only? > SimplePrinter does not show references. I'm not sure what you mean by...
Can you provide me with a minimal example? I would image that futures would be a problem. But parallel stuff? I don't know.
I think you should be using a `LogFilter` for this. See for example: https://github.com/leisim/logger/blob/master/lib/src/filters/development_filter.dart
I'm not convinced adding regexes to the `PrettyPrinter` class is warranted given this use case. What about using a custom `LogPrinter` instead?