more canonical codestyle

This commit is contained in:
Sunch 2025-04-28 19:49:29 +08:00
parent 27554d29bd
commit 2b90f6499e
30 changed files with 1388 additions and 1689 deletions

View file

@ -272,19 +272,19 @@ class ConsoleAPI{
}
public static function debug($msg){
console("[DEBUG] " . $msg, true, true, 2);
console("[DEBUG] ".$msg, true, true, 2);
}
public static function info($msg){
console("[INFO] " . $msg);
console("[INFO] ".$msg);
}
public static function notice($msg){
console("[NOTICE] " . $msg);
console("[NOTICE] ".$msg);
}
public static function warn($msg){
console("[WARNING] " . $msg);
console("[WARNING] ".$msg);
}
public static function error($msg){
console("[ERROR] " . $msg);
console("[ERROR] ".$msg);
}
}