mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 15:46:08 +08:00
Change log_info to log.info by making it into an object
This commit is contained in:
@@ -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 = {};
|
||||
|
||||
|
Reference in New Issue
Block a user