introduce consistent logging

This commit is contained in:
Andreas Brett
2021-11-11 12:31:28 +01:00
parent 5df34cd137
commit bdcdf47e52
15 changed files with 290 additions and 201 deletions

View File

@@ -23,13 +23,14 @@ const Feishu = require("./notification-providers/feishu");
const AliyunSms = require("./notification-providers/aliyun-sms");
const DingDing = require("./notification-providers/dingding");
const Bark = require("./notification-providers/bark");
const { log } = require("../src/util");
class Notification {
providerList = {};
static init() {
console.log("Prepare Notification Providers");
log("notification", "Prepare Notification Providers");
this.providerList = {};