From 12034b496bbc8d022492e9866bf0cc85ab24b129 Mon Sep 17 00:00:00 2001 From: Oliver Anteros Date: Sat, 11 Apr 2020 23:41:22 +0200 Subject: [PATCH 1/3] Create FUNDING.yml --- .github/FUNDING.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..486e323 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: [ 'https://www.buymeacoffee.com/olian04' ] From ed964421e3769e5cbc6f89d2f450fe5c2165bb90 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 13 Apr 2020 11:01:05 +0200 Subject: [PATCH 2/3] fixed default colors being off --- src/lib/config.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/config.ts b/src/lib/config.ts index a0e4e96..60bd5a4 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -45,11 +45,11 @@ export const DefaultConfig = new Config({ color: { base: chalk.gray, type: { + log: chalk.gray, + info: chalk.whiteBright, + warn: chalk.yellowBright, + error: chalk.redBright, debug: chalk.cyan, - info: chalk.gray, - log: chalk.whiteBright, - error: chalk.yellowBright, - warn: chalk.blue, } } }); From 7e38a88ddb23c3df37851bab4d119204ed686a24 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 13 Apr 2020 11:03:00 +0200 Subject: [PATCH 3/3] bumped version minor version bumped, since some powerusers might depend on the log colors, however its not a strictly breaking change. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 92054b9..a531589 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "better-logging", - "version": "4.1.0", + "version": "4.2.0", "description": "better-logging is a drop in replacement for the default logging methods of node.js", "main": "./index.js", "typings": "./dist/api.d.ts",