normalize(String, Object[], Throwable) to help the normalization of parameters.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Object[] | |
| pack-priv final String | |
| pack-priv final Throwable |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object[] | |
| public String | |
| public Throwable | |
| public static Throwable | getThrowableCandidate(final Object[]
The arguments off which we want to know if it contains a
argArray)Throwable as last elementHelper method to determine if an |
| public static NormalizedParameters | |
| public static NormalizedParameters | |
| public static Object[] | Returns: a copy of the array without the last elementThe arguments from which we want to remove the last element argArray)Helper method to get all but the last element of an array |
| arguments | back to summary |
|---|---|
| pack-priv final Object[] arguments | |
| message | back to summary |
|---|---|
| pack-priv final String message | |
| throwable | back to summary |
|---|---|
| pack-priv final Throwable throwable | |
| NormalizedParameters | back to summary |
|---|---|
| public NormalizedParameters(String message, Object[] arguments, Throwable throwable) | |
| NormalizedParameters | back to summary |
|---|---|
| public NormalizedParameters(String message, Object[] arguments) | |
| getArguments | back to summary |
|---|---|
| public Object[] getArguments() | |
| getMessage | back to summary |
|---|---|
| public String getMessage() | |
| getThrowable | back to summary |
|---|---|
| public Throwable getThrowable() | |
| getThrowableCandidate | back to summary |
|---|---|
| public static Throwable getThrowableCandidate(final Object[] argArray) Helper method to determine if an | |
| normalize | back to summary |
|---|---|
| public static NormalizedParameters normalize(String msg, Object[] arguments, Throwable t) This method serves to normalize logging call invocation parameters. More specifically, if a throwable argument is not supplied directly, it attempts to extract it from the argument array. | |
| normalize | back to summary |
|---|---|
| public static NormalizedParameters normalize(LoggingEvent event) | |
| trimmedCopy | back to summary |
|---|---|
| public static Object[] trimmedCopy(final Object[] argArray) Helper method to get all but the last element of an array | |