Make consolewriter colors default to true
This commit is contained in:
parent
7ae1c3e16e
commit
511bdf127f
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hibas123/logging",
|
||||
"version": "2.4.1",
|
||||
"version": "2.4.2",
|
||||
"description": "",
|
||||
"main": "out/index.js",
|
||||
"types": "out/index.d.ts",
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user