mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-11 20:09:18 +08:00
console.info for level "info"
This commit is contained in:
@@ -50,7 +50,7 @@ function log(module, msg, level) {
|
||||
var now = new Date().toISOString();
|
||||
var formattedMessage = (typeof msg === "string") ? now + " [" + module + "] " + level + ": " + msg : msg;
|
||||
if (level === "INFO") {
|
||||
console.log(formattedMessage);
|
||||
console.info(formattedMessage);
|
||||
}
|
||||
else if (level === "WARN") {
|
||||
console.warn(formattedMessage);
|
||||
|
Reference in New Issue
Block a user