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