Package org.drasyl.util
Class LoggingUtil
java.lang.Object
org.drasyl.util.LoggingUtil
Utility class for logging-related operations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
sanitizeLogArg
(Object obj) Cleansobj
from line breaks and returns them as \n or \r.
-
Method Details
-
sanitizeLogArg
Cleansobj
from line breaks and returns them as \n or \r.- Parameters:
obj
- the object to be cleaned- Returns:
- cleaned string
-