Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
de51db2667
Commit
d7798b3275
@ -47,7 +47,7 @@ public class ErrorLogger extends Handler {
|
|||||||
if(logRecord.getLevel().intValue() < Level.WARNING.intValue())
|
if(logRecord.getLevel().intValue() < Level.WARNING.intValue())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
String message = MessageFormat.format(logRecord.getMessage(), logRecord.getParameters());
|
String message = logRecord.getParameters() != null ? MessageFormat.format(logRecord.getMessage(), logRecord.getParameters()) : logRecord.getMessage();
|
||||||
for(String reason : ignoreContains)
|
for(String reason : ignoreContains)
|
||||||
if(message.contains(reason))
|
if(message.contains(reason))
|
||||||
return;
|
return;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren