| |
35. 1. 4. The StreamHandler serves chiefly as a base class for all handlers that write log messages to some OutputStream. |
|
The subclasses of StreamHandler are ConsoleHandler, FileHandler, and SocketHandler. |
A lot of the stream handling code is built into this class. |
Property Name | Description | Default Value | StreamHandler.level | Log level for the handler | Level.INFO | StreamHandler.filter | Filter to use | undefined | StreamHandler.formatter | Formatter to use | java.util.logging.SimpleFormatter | StreamHandler.encoding | Character set encoding to use | Default platform encoding |
|
|