| Modifier and Type | Field and Description |
|---|---|
| private static String | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the record formated to be more human readableThe record to be logged into the logger. record)Implements abstract java. Format the record to include the Thread that logged this record. |
| public static void |
| lineSeparator | back to summary |
|---|---|
| private static String lineSeparator | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| LoggingFormatter | back to summary |
|---|---|
| public LoggingFormatter() | |
| format | back to summary |
|---|---|
| public String format(LogRecord record) Implements abstract java. Format the record to include the Thread that logged this record. the format should be [WorkerThreadImpl-1, Grizzly] 2008-10-08 18:49:59 [INFO] com.glassfish.grizzly.Controller:doSelect message | |
| main | back to summary |
|---|---|
| public static void main(String[] args) Example to test the com.glassfish.grizzly.utils.LoggingFormatter You need to include this parameter in the command line -Djava.util.logging.config.file=myfile
| |