mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
2159
This commit is contained in:
parent
0f72601891
commit
2573e4f90d
14 changed files with 65 additions and 57 deletions
|
|
@ -274,10 +274,17 @@ class ConsoleAPI{
|
|||
}
|
||||
|
||||
public static function debug($msg){
|
||||
console($msg, true, true, 2);
|
||||
console("[DEBUG] ".$msg, true, true, 2);
|
||||
}
|
||||
public static function info($msg){
|
||||
console("[INFO] ".$msg);
|
||||
}
|
||||
public static function warn($msg){
|
||||
console("[WARNING] ".$msg);
|
||||
}
|
||||
public static function error($msg){
|
||||
console("[ERROR] ".$msg);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
class ConsoleLoop extends Thread{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue