org.spicefactory.pimento.io.util
Class LogUtil
java.lang.Object
org.spicefactory.pimento.io.util.LogUtil
public class LogUtil
- extends Object
Utility methods for logging EntitySnapshots.
- Author:
- Jens Halm
|
Method Summary |
static String |
getLog(List<?> arr,
boolean verbose)
Get a log string for a list of arguments. |
static String |
getLogForValue(Object arg,
boolean verbose)
Get a log string for the specified argument. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogUtil
public LogUtil()
getLog
public static String getLog(List<?> arr,
boolean verbose)
- Get a log string for a list of arguments.
- Parameters:
arr - the arguments to create a log string forverbose - whether full logs for snapshots including property values should be created
- Returns:
- the log string for the specified arguments
getLogForValue
public static String getLogForValue(Object arg,
boolean verbose)
- Get a log string for the specified argument.
- Parameters:
arg - the argument to create a log string forverbose - whether full logs for snapshots including property values should be created
- Returns:
- the log string for the specified argument