Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
[![Code size](https://img.shields.io/github/languages/code-size/Bungeefan/logger?logo=github&logoColor=white)](https://github.com/Bungeefan/logger)
[![License](https://img.shields.io/github/license/Bungeefan/logger?logo=open-source-initiative&logoColor=green)](https://github.com/Bungeefan/logger/blob/master/LICENSE)


NOTICE: This repo is NOT LONGER leading! The new repo is here: https://github.com/Bungeefan/logger

Small, easy to use and extensible logger which prints beautiful logs.<br>
Inspired by [logger](https://github.com/orhanobut/logger) for Android.

Expand Down
4 changes: 2 additions & 2 deletions lib/src/printers/pretty_printer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class PrettyPrinter extends LogPrinter {
static const doubleDivider = '─';
static const singleDivider = '┄';

static final whiteColor = AnsiColor.fg(255);
static final levelColors = {
Level.verbose: AnsiColor.fg(AnsiColor.grey(0.5)),
Level.debug: AnsiColor.none(),
Expand Down Expand Up @@ -312,8 +313,7 @@ class PrettyPrinter extends LogPrinter {
for (var line in error.split('\n')) {
buffer.add(
color(verticalLineAtLevel) +
errorColor.resetForeground +
errorColor(line) +
errorColor(whiteColor(line)) +
errorColor.resetBackground,
);
}
Expand Down