public class LoggingFormatter extends TraceFormatter
CENTER, INVALID_MSG_PATTERN, LEFT, MIN, RIGHT, SUPPRESS
Constructor and Description |
---|
LoggingFormatter() |
Modifier and Type | Method and Description |
---|---|
static String |
beautify(Throwable throwable)
Extracts the throwable's type, its message and the stack trace into a human readable string
|
static String |
extractCallstack(Throwable throwable)
Extract callstack from throwable.
|
static String |
format(IGroup principal)
return a loggeable String for a given UME group.
|
static String |
format(IPrincipal principal)
return a loggeable String for a given UME principal.
|
static String |
format(IRole principal)
return a loggeable String for a given UME role.
|
static String |
format(IUser principal)
return a loggeable String for a given UME user.
|
String |
format(LogRecord rec)
Deprecated.
since NetWeaver 7.1, use the fabulous Log-Viewer instead.
Format log record.
|
static void |
main(String[] args) |
align, getPattern, isCompleteMessage, isHeaderless, isParsable, isStartMessage, parseMsg, parseMsg, setPattern
equals, getFooter, getFormatterName, getFormatterType, getHeader, getMessageAccessor, getMessageBuilder, isCompleteMessage, isStartMsg, parseMsg, setFormatterName, setMessageAccessor
public static String extractCallstack(Throwable throwable)
throwable
- throwablepublic static String beautify(Throwable throwable)
public static String format(IPrincipal principal)
public static String format(IUser principal)
public static String format(IGroup principal)
public static String format(IRole principal)
public String format(LogRecord rec)
format
in class TraceFormatter
rec
- log recordpublic static void main(String[] args)
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice