Make consolewriter colors default to true

This commit is contained in:
Fabian Stamm
2020-04-20 17:15:23 +02:00
parent 7ae1c3e16e
commit 511bdf127f
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import {
const browser = typeof window !== "undefined";
export class ConsoleAdapter implements Adapter {
constructor(private colors?: boolean) {}
constructor(private colors: boolean = true) {}
init(observable: ObservableInterface<Message>) {
observable.subscribe(this.onMessage.bind(this));