public class SimpleLogFormatter
extends java.util.logging.Formatter
Constructor and Description |
---|
SimpleLogFormatter()
Constructs a
SimpleFormatter object. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.util.logging.LogRecord r)
Format the logrecord as a single line with well defined columns.
|
static java.lang.String |
left(java.lang.String s,
int width,
char fillChar)
Left justify a string.
|
public SimpleLogFormatter()
SimpleFormatter
object.public java.lang.String format(java.util.logging.LogRecord r)
format
in class java.util.logging.Formatter
public static java.lang.String left(java.lang.String s, int width, char fillChar)
s
- the string to justifywidth
- the field width to justify withinfillChar
- the character to fill with