public class MomaFormatter extends DefaultFormatter
The constructor is able to consume the following properties:
| Property Keyword | Datatype | Default | Description |
|---|---|---|---|
| FORMAT | String | {0,date} {0,time}.{1,number,###} diff: {2,number,#####} Thread 0x{3} {6} {4} {5}{7} | The output format. |
| LINEBRAK | String | space | The line break character before message, if exists. |
| SEPARATOR | String | space | The message separator string. |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_FORMAT_STRING |
arguments, ctx, dat, DEFAULT_LINEBREAK, DEFAULT_SEPARATOR, descriptor, formatter, lastLog, linebreak, separator| Constructor and Description |
|---|
MomaFormatter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(java.util.logging.LogRecord record)
Format the given LogRecord.
|
getContext, getDescriptor, init, setArguments, setContext, setDescriptorpublic static final java.lang.String DEFAULT_FORMAT_STRING
public java.lang.String format(java.util.logging.LogRecord record)
format in class DefaultFormatterrecord - the log record to be formatted.