public class DefaultHandler extends java.util.logging.ConsoleHandler implements ImplementationIF
The object is able to consume the following properties:
| Property Keyword | Datatype | Default | Description |
|---|---|---|---|
| LEVEL | string | empty | The level value string that can be parsed by the method java.util.logging.Level.parseLevel. |
| Constructor and Description |
|---|
DefaultHandler()
Create the formatter.
|
DefaultHandler(Transformer transformer,
java.util.Properties arguments)
Create the handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
publish(java.util.logging.LogRecord record)
Publish the log record to the stderr print stream.
|
void |
setArguments(java.util.Properties arguments)
Set argument property map.
|
void |
setTransformer(Transformer transformer)
Set the transformer implementation.
|
flush, isLoggable, setEncoding, setOutputStreampublic DefaultHandler()
public DefaultHandler(Transformer transformer, java.util.Properties arguments)
transformer - the transformerarguments - the argumentspublic void setTransformer(Transformer transformer)
setTransformer in interface TransformerRequestedtransformer - The transformer.public void setArguments(java.util.Properties arguments)
setArguments in interface PropertiesRequestedarguments - the property mappublic void publish(java.util.logging.LogRecord record)
publish in class java.util.logging.ConsoleHandlerrecord - the log record.