mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-03 03:56:18 -04:00
Change log_info to log.info by making it into an object
This commit is contained in:
parent
94770cf865
commit
e9ce1433cd
16 changed files with 289 additions and 268 deletions
|
@ -24,7 +24,7 @@ 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_info } = require("../src/util");
|
||||
const { log } = require("../src/util");
|
||||
const SerwerSMS = require("./notification-providers/serwersms");
|
||||
const Stackfield = require("./notification-providers/stackfield");
|
||||
const WeCom = require("./notification-providers/wecom");
|
||||
|
@ -37,7 +37,7 @@ class Notification {
|
|||
providerList = {};
|
||||
|
||||
static init() {
|
||||
log_info("notification", "Prepare Notification Providers");
|
||||
log.info("notification", "Prepare Notification Providers");
|
||||
|
||||
this.providerList = {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue