Class LoggingUtil

java.lang.Object
org.drasyl.util.LoggingUtil

public final class LoggingUtil extends Object
Utility class for logging-related operations.
  • Method Details

    • sanitizeLogArg

      public static String sanitizeLogArg(Object obj)
      Cleans obj from line breaks and returns them as \n or \r.
      Parameters:
      obj - the object to be cleaned
      Returns:
      cleaned string