|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.core.LogManager
public class LogManager
Class for generating standard log header
| Constructor Summary | |
|---|---|
LogManager()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogManager()
| Method Detail |
|---|
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 parameters
public static String escapeLogField(String field)
field - The unescaped log field
public static String unescapeLogField(String field)
field - The escaped log field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||