mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-24 01:39:59 +02:00
improve antdedit output log display
This commit is contained in:
@ -1465,7 +1465,18 @@ namespace OS {
|
||||
* @memberof Logger
|
||||
*/
|
||||
print(s: string | FormattedString): void {
|
||||
this.log("info", s, false);
|
||||
if(s.match(/warn/i))
|
||||
{
|
||||
this.log("warn", s, false);
|
||||
}
|
||||
else if(s.match(/error/i))
|
||||
{
|
||||
this.log("error", s, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.log("info", s, false);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user