public class LogManager extends Object
| Constructor and Description |
|---|
LogManager() |
| Modifier and Type | Method and Description |
|---|---|
static String |
escapeLogField(String field)
If any string within the log line contains a field separator (:) they need to be escaped so as the
line may be parsed and analysed later.
|
static String |
getHeader(Context context,
String action,
String extrainfo)
Generate the log header
|
static String |
unescapeLogField(String field)
Unescape a log field.
|
public static String getHeader(Context context, String action, String extrainfo)
context - the current Context - safe to pass in nullaction - string describing the actionextrainfo - string with extra information, like parameterspublic static String escapeLogField(String field)
field - The unescaped log fieldCopyright © 2016 DuraSpace. All Rights Reserved.