public class OfBizLogHelper extends Object
Constructor and Description |
---|
OfBizLogHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
formatSQL(String sqlString,
List<?> parameterValues)
Formats the given SQL string with the given parameter values.
|
static String |
logTheCallStack()
Returns a string with the call stack excluding filters and generic ofbiz statements.
|
public static String formatSQL(String sqlString, List<?> parameterValues)
sqlString
- the raw SQL with no parameters substituted in (required)parameterValues
- the parameter values to substitute in; if this list is not null, each element's toString()
will be substituted into the given SQLpublic static String logTheCallStack()
Copyright © 2002-2015 Atlassian. All Rights Reserved.